1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-19 13:52:14 +02:00
This commit is contained in:
Jim Meyering
2000-08-24 08:40:47 +00:00
parent d5f68c636f
commit 10d2bd9fe1
2 changed files with 28 additions and 2 deletions

26
tests/sample-test Normal file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
# FIXME
if test "$VERBOSE" = yes; then
set -x
FIXME --version
fi
pwd=`pwd`
tmp=FIXME.$$
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
framework_failure=0
mkdir $tmp || framework_failure=1
cd $tmp || framework_failure=1
if test $framework_failure = 1; then
echo 'failure in testing framework'
exit 1
fi
fail=0
(exit $fail); exit