summaryrefslogtreecommitdiff
path: root/tests/mv/to-symlink
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-12 13:21:47 +0000
committerJim Meyering <jim@meyering.net>2000-08-12 13:21:47 +0000
commit60d7a8e772ae9b0f741de44f30ce613494b87361 (patch)
treedf9f4f0e13b4501f08d19a15943492459e8fe46a /tests/mv/to-symlink
parente37768067a3852e7bd468ecc2d15a507cf3a8721 (diff)
downloadcoreutils-60d7a8e772ae9b0f741de44f30ce613494b87361.tar.xz
Remove test for the VERSION_CONTROL and/or
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
Diffstat (limited to 'tests/mv/to-symlink')
-rwxr-xr-xtests/mv/to-symlink9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/mv/to-symlink b/tests/mv/to-symlink
index ec15b892a..0cade1b3d 100755
--- a/tests/mv/to-symlink
+++ b/tests/mv/to-symlink
@@ -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