[6.0] f36f80a0c Make a00009.vtc pass on alpine

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:51 UTC 2018


commit f36f80a0cdc1b563f2d755203042eef8140da779
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Thu Apr 26 23:43:59 2018 +0200

    Make a00009.vtc pass on alpine
    
    alpine's getopt returns "progname: unrecognized option: A"

diff --git a/bin/varnishtest/tests/a00009.vtc b/bin/varnishtest/tests/a00009.vtc
index 37565c796..4b82d4c7d 100644
--- a/bin/varnishtest/tests/a00009.vtc
+++ b/bin/varnishtest/tests/a00009.vtc
@@ -13,7 +13,7 @@ shell -err -expect {Too many arguments for -x} "varnishd -x foo bar"
 shell -err -expect {Invalid -x argument} "varnishd -x foo "
 
 # This one is tricky, the getopt message on stderr is not standardized.
-shell -err -expect {option --} "varnishd -A "
+shell -err -expect {option} "varnishd -A "
 
 shell -err -expect {Usage: varnishd [options]} "varnishd -? "
 shell -err -expect {Too many arguments} "varnishd foo "


More information about the varnish-commit mailing list