freebsd-dev/tools/regression/lib/libc/stdio/test-open_wmemstream.t
Jilles Tjoelker e32a0090d8 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.
2013-09-06 12:56:49 +00:00

16 lines
217 B
Bash

#!/bin/sh
# $FreeBSD$
cd `dirname $0`
executable=`basename $0 .t`
make $executable 2>&1 > /dev/null
echo 1..1
if ./$executable; then
echo ok 1 - $executable successful
else
echo not ok 1 - $executable failed
fi