Author: jilles Date: Fri Sep 6 12:56:49 2013 New Revision: 255301 URL: http://svnweb.freebsd.org/changeset/base/255301
Log: libc/stdio: Provide proper TAP output for fmemopen/open_[w]memstream. A *.t file should provide Test Anything Protocol output so that it can be run using the Perl "prove" tool. Modified: head/tools/regression/lib/libc/stdio/test-fmemopen.t head/tools/regression/lib/libc/stdio/test-open_memstream.t head/tools/regression/lib/libc/stdio/test-open_wmemstream.t Modified: head/tools/regression/lib/libc/stdio/test-fmemopen.t ============================================================================== --- head/tools/regression/lib/libc/stdio/test-fmemopen.t Fri Sep 6 12:47:14 2013 (r255300) +++ head/tools/regression/lib/libc/stdio/test-fmemopen.t Fri Sep 6 12:56:49 2013 (r255301) @@ -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: head/tools/regression/lib/libc/stdio/test-open_memstream.t ============================================================================== --- head/tools/regression/lib/libc/stdio/test-open_memstream.t Fri Sep 6 12:47:14 2013 (r255300) +++ head/tools/regression/lib/libc/stdio/test-open_memstream.t Fri Sep 6 12:56:49 2013 (r255301) @@ -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: head/tools/regression/lib/libc/stdio/test-open_wmemstream.t ============================================================================== --- head/tools/regression/lib/libc/stdio/test-open_wmemstream.t Fri Sep 6 12:47:14 2013 (r255300) +++ head/tools/regression/lib/libc/stdio/test-open_wmemstream.t Fri Sep 6 12:56:49 2013 (r255301) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"