From: Jim Meyering Date: Sat, 12 Aug 2000 13:21:13 +0000 (+0000) Subject: Remove test for the VERSION_CONTROL and/or X-Git-Tag: FILEUTILS-4_0y~50 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e37768067a3852e7bd468ecc2d15a507cf3a8721;p=thirdparty%2Fcoreutils.git Remove test for the VERSION_CONTROL and/or SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead. --- diff --git a/tests/mv/i-2 b/tests/mv/i-2 index f7076d0f22..2d4cbee3a2 100755 --- a/tests/mv/i-2 +++ b/tests/mv/i-2 @@ -8,12 +8,7 @@ if test "$VERBOSE" = yes; then cp --version 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 +. $srcdir/../envvar-check # Make sure we get English translations. LANGUAGE=C diff --git a/tests/mv/into-self-2 b/tests/mv/into-self-2 index 9e51787e8a..81e151af60 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