update framework

This commit is contained in:
Jim Meyering 2002-04-20 14:49:46 +00:00
parent 73f2d11007
commit c175e3f6c8
8 changed files with 23 additions and 23 deletions

View File

@ -13,8 +13,8 @@ if test "$VERBOSE" = yes; then
fi
pwd=`pwd`
tmp=`echo "$0"|sed 's,.*/,,'`.tmp
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
umask 022

View File

@ -8,12 +8,12 @@ if test "$VERBOSE" = yes; then
fi
pwd=`pwd`
tmp=`echo "$0"|sed 's,.*/,,'`.tmp
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
test_failure=0
mkdir $tmp || test_failure=1
mkdir -p $tmp || test_failure=1
if test $test_failure = 1; then
echo 'failure in testing framework'

View File

@ -11,12 +11,12 @@ if test "$VERBOSE" = yes; then
fi
pwd=`pwd`
tmp=hash-$$
trap 'status=$?; cd $pwd; rm -rf $tmp || exit $?; exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 || exit $?; exit $status' 0
trap 'exit $?' 1 2 13 15
framework_failure=0
mkdir $tmp || framework_failure=1
mkdir -p $tmp || framework_failure=1
cd $tmp
# Create a hierarchy with 3*26 leaf directories, each at depth 153.

View File

@ -8,12 +8,12 @@ if test "$VERBOSE" = yes; then
fi
pwd=`pwd`
tmp=`echo "$0"|sed 's,.*/,,'`.tmp
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
test_failure=0
mkdir $tmp || test_failure=1
mkdir -p $tmp || test_failure=1
echo > $tmp/a || test_failure=1
test -f $tmp/a || test_failure=1

View File

@ -8,12 +8,12 @@ if test "$VERBOSE" = yes; then
fi
pwd=`pwd`
tmp=`echo "$0"|sed 's,.*/,,'`.tmp
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
test_failure=0
mkdir $tmp $tmp/a $tmp/b $tmp/c || test_failure=1
mkdir -p $tmp $tmp/a $tmp/b $tmp/c || test_failure=1
> $tmp/a/a || test_failure=1
> $tmp/b/bb || test_failure=1
> $tmp/c/cc || test_failure=1

View File

@ -9,12 +9,12 @@ fi
. $srcdir/../lang-default
pwd=`pwd`
tmp=isatty.$$
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
framework_failure=0
mkdir $tmp || framework_failure=1
mkdir -p $tmp || framework_failure=1
cd $tmp || framework_failure=1
if test $framework_failure = 1; then

View File

@ -8,12 +8,12 @@ fi
. $srcdir/../lang-default
pwd=`pwd`
tmp=r2-$$
trap 'status=$?; cd $pwd; rm -rf $tmp || exit $?; exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 || exit $?; exit $status' 0
trap 'exit $?' 1 2 13 15
framework_failure=0
mkdir $tmp || framework_failure=1
mkdir -p $tmp || framework_failure=1
cd $tmp
mkdir t t/a t/a/b || framework_failure=1

View File

@ -9,12 +9,12 @@ if test "$VERBOSE" = yes; then
fi
pwd=`pwd`
tmp=`echo "$0"|sed 's,.*/,,'`.tmp
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
t0=`echo "$0"|sed 's,.*/,,'`.tmp;tmp=$t0/$$
trap 'status=$?; cd $pwd; rm -rf $t0 && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
framework_fail=0
mkdir $tmp || framework_fail=1
mkdir -p $tmp || framework_fail=1
cd $tmp || framework_fail=1
# Create 300 files (12 * 25).