[master] c6854d8 No need to test getopt or multiple invalid opts

Federico G. Schwindt fgsch at lodoss.net
Wed Jan 11 21:04:04 CET 2017


commit c6854d8823be9c7cd50c946b8c0cb92c245257cc
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue Jan 10 23:19:27 2017 +0000

    No need to test getopt or multiple invalid opts

diff --git a/bin/varnishtest/tests/a00009.vtc b/bin/varnishtest/tests/a00009.vtc
index a6071da..27db34b 100644
--- a/bin/varnishtest/tests/a00009.vtc
+++ b/bin/varnishtest/tests/a00009.vtc
@@ -23,13 +23,11 @@ err_shell {-C needs either -b <backend> or -f <vcl_file>} \
 	"varnishd -C 2>&1"
 err_shell {-d makes no sense with -C} "varnishd -C -b 127.0.0.1:80 -d 2>&1"
 err_shell {-F makes no sense with -C} "varnishd -C -b 127.0.0.1:80 -F 2>&1"
-err_shell {usage: varnishd [options]} "varnishd -h 2>&1"
 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 {usage: varnishd [options]} "varnishd --help 2>&1"
+err_shell {usage: varnishd [options]} "varnishd -A 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