diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-22 21:23:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-22 21:23:18 +0000 |
commit | 171aba014f4bb6d4ac8c36e62a53690f264aa98d (patch) | |
tree | e2ee15eba09f79828f89e0b9d50c0e4adfbeacf8 | |
parent | ed3d57b5726076fca87cf8cc88fbcf464552094f (diff) | |
download | coreutils-171aba014f4bb6d4ac8c36e62a53690f264aa98d.tar.xz |
source lang-default *before* the `cd'
-rwxr-xr-x | tests/rm/r-2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/r-2 b/tests/rm/r-2 index 044dd2279..f341b303b 100755 --- a/tests/rm/r-2 +++ b/tests/rm/r-2 @@ -5,6 +5,8 @@ if test "$VERBOSE" = yes; then set -x fi +. $srcdir/../lang-default + pwd=`pwd` tmp=r2-$$ trap 'status=$?; cd $pwd; rm -rf $tmp || exit $?; exit $status' 0 @@ -18,8 +20,6 @@ mkdir t t/a t/a/b || framework_failure=1 > t/a/f || framework_failure=1 > t/a/b/g || framework_failure=1 -. $srcdir/../lang-default - # FIXME: if this fails, it's a framework failure cat <<EOF | sort > t/E || framework_failure=1 removing all entries of directory \`t/a' |