svn commit: r257232 - stable/9/tools/regression/lib/libc/stdio

Jilles Tjoelker jilles at FreeBSD.org
Sun Oct 27 22:18:28 UTC 2013


Author: jilles
Date: Sun Oct 27 22:18:27 2013
New Revision: 257232
URL: http://svnweb.freebsd.org/changeset/base/257232

Log:
  MFC r255301: libc/stdio: Provide proper TAP output for fmemopen/
  open_memstream/open_wmemstream.
  
  A *.t file should provide Test Anything Protocol output so that it can be
  run using the Perl "prove" tool.

Modified:
  stable/9/tools/regression/lib/libc/stdio/test-fmemopen.t
  stable/9/tools/regression/lib/libc/stdio/test-open_memstream.t
  stable/9/tools/regression/lib/libc/stdio/test-open_wmemstream.t
Directory Properties:
  stable/9/tools/regression/lib/libc/   (props changed)

Modified: stable/9/tools/regression/lib/libc/stdio/test-fmemopen.t
==============================================================================
--- stable/9/tools/regression/lib/libc/stdio/test-fmemopen.t	Sun Oct 27 22:15:50 2013	(r257231)
+++ stable/9/tools/regression/lib/libc/stdio/test-fmemopen.t	Sun Oct 27 22:18:27 2013	(r257232)
@@ -7,4 +7,9 @@ executable=`basename $0 .t`
 
 make $executable 2>&1 > /dev/null
 
-exec ./$executable
+echo 1..1
+if ./$executable; then
+	echo ok 1 - $executable successful
+else
+	echo not ok 1 - $executable failed
+fi

Modified: stable/9/tools/regression/lib/libc/stdio/test-open_memstream.t
==============================================================================
--- stable/9/tools/regression/lib/libc/stdio/test-open_memstream.t	Sun Oct 27 22:15:50 2013	(r257231)
+++ stable/9/tools/regression/lib/libc/stdio/test-open_memstream.t	Sun Oct 27 22:18:27 2013	(r257232)
@@ -7,4 +7,9 @@ executable=`basename $0 .t`
 
 make $executable 2>&1 > /dev/null
 
-exec ./$executable
+echo 1..1
+if ./$executable; then
+	echo ok 1 - $executable successful
+else
+	echo not ok 1 - $executable failed
+fi

Modified: stable/9/tools/regression/lib/libc/stdio/test-open_wmemstream.t
==============================================================================
--- stable/9/tools/regression/lib/libc/stdio/test-open_wmemstream.t	Sun Oct 27 22:15:50 2013	(r257231)
+++ stable/9/tools/regression/lib/libc/stdio/test-open_wmemstream.t	Sun Oct 27 22:18:27 2013	(r257232)
@@ -7,4 +7,9 @@ executable=`basename $0 .t`
 
 make $executable 2>&1 > /dev/null
 
-exec ./$executable
+echo 1..1
+if ./$executable; then
+	echo ok 1 - $executable successful
+else
+	echo not ok 1 - $executable failed
+fi


More information about the svn-src-stable-9 mailing list