2 # make sure that neither --exact nor --zero gobbles a command line argument
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
18 if test $framework_failure = 1; then
19 echo 'failure in testing framework'
25 for opt in --exact --zero; do
28 echo ccc > c || fail=1
30 shred --remove $opt a b || fail=1
34 shred --remove $opt c || fail=1
38 (exit $fail); exit $fail