diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/cp-mv-backup | 16 |
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 |