]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove test for the VERSION_CONTROL and/or
authorJim Meyering <jim@meyering.net>
Sat, 12 Aug 2000 13:21:47 +0000 (13:21 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 Aug 2000 13:21:47 +0000 (13:21 +0000)
SIMPLE_BACKUP_SUFFIX envvars.  Source ../envvar-check instead.

tests/mv/to-symlink

index ec15b892a2d26ecc4a1af5d87ea533095fe13a57..0cade1b3dec66600109fedc239dd6918e9ced75d 100755 (executable)
@@ -8,6 +8,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 . $srcdir/setup
+. $srcdir/../envvar-check
 
 if test -z "$other_partition_tmpdir"; then
   exit 77
@@ -32,14 +33,6 @@ if test $framework_failure = 1; then
   exit 1
 fi
 
-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 succeed, unlinking the symlink
 # before copying.
 mv $file $rem_symlink || fail=1