mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-14 20:35:13 +08:00
27 lines
405 B
Bash
27 lines
405 B
Bash
#!/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); exit
|
|
fi
|
|
|
|
fail=0
|
|
|
|
|
|
(exit $fail); exit
|