[master] 557aff1 Fix these testcases to fail for the right reason.

Poul-Henning Kamp phk at varnish-cache.org
Wed Oct 24 22:38:16 CEST 2012


commit 557aff1d1b5ae895181e2661213048b003aad801
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 24 20:38:03 2012 +0000

    Fix these testcases to fail for the right reason.

diff --git a/bin/varnishtest/tests/m00000.vtc b/bin/varnishtest/tests/m00000.vtc
index 504601b..c26c766 100644
--- a/bin/varnishtest/tests/m00000.vtc
+++ b/bin/varnishtest/tests/m00000.vtc
@@ -30,14 +30,14 @@ client c1 {
 } -run
 
 varnish v1 -badvcl {
-	import debug from "${topbuild}/lib/libvmod_debug/.libs/libvmod_debug.so.1" ;
+	import debug from "${topbuild}/lib/libvmod_debug/.libs/libvmod_debug.so" ;
 	sub vcl_deliver {
 		set resp.http.who = debug.author(jfk);
 	}
 }
 
 varnish v1 -badvcl {
-	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
+	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
 	sub vcl_deliver {
 		set resp.http.who = std.random("foo", "bar");
 	}
diff --git a/bin/varnishtest/tests/m00001.vtc b/bin/varnishtest/tests/m00001.vtc
index 9f4a743..47c5ba6 100644
--- a/bin/varnishtest/tests/m00001.vtc
+++ b/bin/varnishtest/tests/m00001.vtc
@@ -48,12 +48,12 @@ varnish v1 -cliok "vcl.list"
 varnish v1 -cliok "debug.vmod"
 
 varnish v1 -badvcl {
-	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
-	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
+	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
+	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
 }
 
 varnish v1 -badvcl {
-	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
+	import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
 
 	sub vcl_recv {
 		if (std == 2) {



More information about the varnish-commit mailing list