[master] 0c8f02f This does not fail in FreeBSD

Federico G. Schwindt fgsch at lodoss.net
Sat Jan 21 00:41:05 CET 2017


commit 0c8f02f7a20bcc0172fd1161c3ea712dc1e5872a
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Jan 20 23:33:42 2017 +0000

    This does not fail in FreeBSD
    
    Comment it out for now and add a note for future reference.

diff --git a/bin/varnishtest/tests/u00003.vtc b/bin/varnishtest/tests/u00003.vtc
index 77b09dd..bb47954 100644
--- a/bin/varnishtest/tests/u00003.vtc
+++ b/bin/varnishtest/tests/u00003.vtc
@@ -41,8 +41,10 @@ shell -err -expect "Can't open format file (No such file or directory)" \
 	{varnishncsa -f /nonexistent/file}
 shell -err -expect "Empty format file" \
 	{varnishncsa -f /dev/null}
-shell -err -expect "Can't read format from file (Is a directory)" \
-	{varnishncsa -f ${tmpdir}}
+# In Linux and SunOS, getline(3) fails when the stream refers to a
+# directory but happily works in FreeBSD.
+#shell -err -expect "Can't read format from file (Is a directory)" \
+#	{varnishncsa -f ${tmpdir}}
 
 delay 1
 



More information about the varnish-commit mailing list