Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 22:18:27 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r257232 - stable/9/tools/regression/lib/libc/stdio
Message-ID:  <201310272218.r9RMIRV4056803@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310272218.r9RMIRV4056803>