summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-28 12:46:59 +0000
committerJim Meyering <jim@meyering.net>2000-10-28 12:46:59 +0000
commit3bd2a886189fe41409d6261e399392be89a7716b (patch)
tree49d1c9b18d9c38bad1d91a50a6615ea2aab0f51c /tests/mv
parent4c5cf8b14404fb2f989e5e53fab621702c27d8f5 (diff)
downloadcoreutils-3bd2a886189fe41409d6261e399392be89a7716b.tar.xz
source lang-default before the first `cd'
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/diag6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mv/diag b/tests/mv/diag
index c3fc1b0f9..125e8658c 100755
--- a/tests/mv/diag
+++ b/tests/mv/diag
@@ -6,6 +6,9 @@ if test "$VERBOSE" = yes; then
mv --version
fi
+# Make sure we get English translations.
+. $srcdir/../lang-default
+
pwd=`pwd`
tmp=diag-$$
trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
@@ -24,9 +27,6 @@ if test $framework_failure = 1; then
exit 1
fi
-# Make sure we get English translations.
-. $srcdir/../lang-default
-
# These mv commands should all exit nonzero.
# Too few args. This first one did fail, but with an incorrect diagnostic