diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-24 08:40:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-24 08:40:47 +0000 |
commit | 10d2bd9fe1475bc3dcafe7ae82fda4a7cc8a1e27 (patch) | |
tree | c005d248e8f2bc285b8f3a30528ef68dfe322668 /tests/sample-test | |
parent | d5f68c636f802d31c274d5b585c65fac792c9047 (diff) | |
download | coreutils-10d2bd9fe1475bc3dcafe7ae82fda4a7cc8a1e27.tar.xz |
.
Diffstat (limited to 'tests/sample-test')
-rw-r--r-- | tests/sample-test | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/sample-test b/tests/sample-test new file mode 100644 index 000000000..c633c057f --- /dev/null +++ b/tests/sample-test @@ -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 |