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

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 14 15:15:09 CET 2016


commit 7586f27007d45213ca9f9e6140c9245d949b0e9d
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