summaryrefslogtreecommitdiff
path: root/tests/mv/into-self-2
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-12 13:21:13 +0000
committerJim Meyering <jim@meyering.net>2000-08-12 13:21:13 +0000
commite37768067a3852e7bd468ecc2d15a507cf3a8721 (patch)
tree1fe3fedc03914756ba9ead53c6f567cb001737d0 /tests/mv/into-self-2
parent47e19fb368920da053f04a0e679b51d849069670 (diff)
downloadcoreutils-e37768067a3852e7bd468ecc2d15a507cf3a8721.tar.xz
Remove test for the VERSION_CONTROL and/or
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
Diffstat (limited to 'tests/mv/into-self-2')
-rwxr-xr-xtests/mv/into-self-29
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/mv/into-self-2 b/tests/mv/into-self-2
index 9e51787e8..81e151af6 100755
--- a/tests/mv/into-self-2
+++ b/tests/mv/into-self-2
@@ -9,6 +9,7 @@ if test "$VERBOSE" = yes; then
fi
. $srcdir/setup
+. $srcdir/../envvar-check
if test -z "$other_partition_tmpdir"; then
exit 77
@@ -40,14 +41,6 @@ export LC_ALL
LANG=C
export LANG
-unset VERSION_CONTROL
-
-if test "${VERSION_CONTROL+set}" = set; then
- echo '$0: the VERSION_CONTROL envvar is set --' \
- ' unset it and rerun this test' >&2
- exit 1
-fi
-
# This mv command should exit nonzero.
mv $symlink $file > out 2>&1 && fail=1