2 # exercize the fix of 2001-08-18, based on test case from Ian Bruce
4 if test "$VERBOSE" = yes; then
11 trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
12 trap '(exit $?); exit' 1 2 13 15
15 mkdir $tmp || framework_failure=1
16 cd $tmp || framework_failure=1
17 echo abc > in || framework_failure=1
19 if test $framework_failure = 1; then
20 echo 'failure in testing framework' 1>&2
26 (head -c1; head -c1) < in > out || fail=1
32 (exit $fail); exit $fail