[master] 3afde33 FreeBSD's dlopen doesn't return a strerror(3) output, hunt the VCC's own complaint instead.

Poul-Henning Kamp phk at FreeBSD.org
Mon Dec 14 14:52:23 CET 2015


commit 3afde33a7c619d6a3e38241751420b7738034776
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Dec 14 13:51:43 2015 +0000

    FreeBSD's dlopen doesn't return a strerror(3) output, hunt the
    VCC's own complaint instead.

diff --git a/bin/varnishtest/tests/m00003.vtc b/bin/varnishtest/tests/m00003.vtc
index 073632d..85970dd 100644
--- a/bin/varnishtest/tests/m00003.vtc
+++ b/bin/varnishtest/tests/m00003.vtc
@@ -14,7 +14,7 @@ varnish v1 -arg "-pvmod_dir=${topbuild}/lib/libvmod_std/.libs/" \
 
 varnish v1 -cliok "param.set vmod_dir /nonexistent"
 
-varnish v1 -errvcl {No such file or directory} {
+varnish v1 -errvcl {Could not load VMOD std} {
 	import std;
 }
 



More information about the varnish-commit mailing list