[master] 5a57d134d Rely only on error messages we format ourselves.

Poul-Henning Kamp phk at FreeBSD.org
Tue Sep 4 19:38:07 UTC 2018


commit 5a57d134d497af9f94ddf984542adcb08389fe78
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Sep 4 19:36:38 2018 +0000

    Rely only on error messages we format ourselves.

diff --git a/bin/varnishtest/tests/u00004.vtc b/bin/varnishtest/tests/u00004.vtc
index 5d95d7611..a861ae57a 100644
--- a/bin/varnishtest/tests/u00004.vtc
+++ b/bin/varnishtest/tests/u00004.vtc
@@ -32,7 +32,7 @@ shell -match "1\\.00 RespHeader Date\\n" {
 shell -match "Usage: .*varnishtop <options>" \
 	"varnishtop -h"
 
-shell -err -match "illegal option -- K" \
+shell -err -match "Usage: .*varnishtop <options>" \
 	"varnishtop -K"
 
 shell -expect "Copyright (c) 2006 Verdens Gang AS" \


More information about the varnish-commit mailing list