4 if test "$VERBOSE" = yes; then
9 # FIXME: . $srcdir/../envvar-check
10 # FIXME: . $srcdir/../lang-default
11 # FIXME: PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
12 # FIXME: PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
15 t0
=`echo "$0"|sed 's,.*/,,'`.tmp
; tmp
=$t0/$$
16 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
17 trap '(exit $?); exit $?' 1 2 13 15
20 mkdir
-p $tmp || framework_failure
=1
21 cd $tmp || framework_failure
=1
23 if test $framework_failure = 1; then
24 echo "$0: failure in testing framework" 1>&2
31 cat <<\EOF
> exp || fail
=1
36 test $fail = 1 && diff out exp
2> /dev
/null
38 (exit $fail); exit $fail