summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-12 13:22:59 +0000
committerJim Meyering <jim@meyering.net>2000-08-12 13:22:59 +0000
commit52f183032939e2be70796d9d882c0fff58e8557a (patch)
tree450b32953a966eb03c1bb44e8c0a72f3b6e8677e /tests
parentaf77319c56cfa2e9b53d3df2e5daffc581ce732f (diff)
downloadcoreutils-52f183032939e2be70796d9d882c0fff58e8557a.tar.xz
Remove test for the VERSION_CONTROL and/or
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp/cp-mv-backup16
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup
index 2437d5aef..084dd1e54 100755
--- a/tests/cp/cp-mv-backup
+++ b/tests/cp/cp-mv-backup
@@ -9,6 +9,8 @@ fi
LANGUAGE=C; export LANGUAGE
LANG=C; export LANG
+. $srcdir/../envvar-check
+
umask 022
pwd=`pwd`
@@ -22,20 +24,6 @@ expected=$dir/expected
trap "cd $pwd; exec 1>&2; rm -rf $dir" 0 1 2 3 15
mkdir $dir
-unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIX
-
-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
-
-if test "${SIMPLE_BACKUP_SUFFIX+set}" = set; then
- echo '$0: the SIMPLE_BACKUP_SUFFIX envvar is set --' \
- ' unset it and rerun this test' >&2
- >&2
- exit 1
-fi
exec 1> $actual