[master] a10d3bd Fix -S test to stay in tmpdir

Poul-Henning Kamp phk at FreeBSD.org
Sun Jan 8 13:00:05 CET 2017


commit a10d3bd7fd40a754c326eeb70b9cee75c0c10fed
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sun Jan 8 11:59:39 2017 +0000

    Fix -S test to stay in tmpdir

diff --git a/bin/varnishtest/tests/a00009.vtc b/bin/varnishtest/tests/a00009.vtc
index f78916d..868d6d2 100644
--- a/bin/varnishtest/tests/a00009.vtc
+++ b/bin/varnishtest/tests/a00009.vtc
@@ -28,4 +28,6 @@ err_shell {usage: varnishd [options]} "varnishd -? 2>&1"
 err_shell {Invalid backslash sequence} {varnishd -l 'xyz\kk,xyz\foo' 2>&1}
 err_shell {Invalid backslash sequence} {varnishd -l 'ab\8cd' 2>&1}
 err_shell {Copyright (c) 2006} "varnishd -V 2>&1"
-err_shell {Cannot open -S file (/nonexistent)} "varnishd -S /nonexistent 2>&1"
+err_shell {Cannot open -S file} {
+	varnishd -S ${tmpdir}/nonexistent -n ${tmpdir}/v0 2>&1
+



More information about the varnish-commit mailing list