summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-22 21:23:18 +0000
committerJim Meyering <jim@meyering.net>2000-10-22 21:23:18 +0000
commit171aba014f4bb6d4ac8c36e62a53690f264aa98d (patch)
treee2ee15eba09f79828f89e0b9d50c0e4adfbeacf8 /tests
parented3d57b5726076fca87cf8cc88fbcf464552094f (diff)
downloadcoreutils-171aba014f4bb6d4ac8c36e62a53690f264aa98d.tar.xz
source lang-default *before* the `cd'
Diffstat (limited to 'tests')
-rwxr-xr-xtests/rm/r-24
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'