mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
Remove test for the VERSION_CONTROL and/or
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead.
This commit is contained in:
@@ -7,12 +7,7 @@ if test "$VERBOSE" = yes; then
|
|||||||
cp --version
|
cp --version
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset VERSION_CONTROL
|
. $srcdir/../envvar-check
|
||||||
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
|
|
||||||
|
|
||||||
# Make sure we get English translations.
|
# Make sure we get English translations.
|
||||||
LANGUAGE=C
|
LANGUAGE=C
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ if test "$VERBOSE" = yes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
. $srcdir/setup
|
. $srcdir/setup
|
||||||
|
. $srcdir/../envvar-check
|
||||||
|
|
||||||
if test -z "$other_partition_tmpdir"; then
|
if test -z "$other_partition_tmpdir"; then
|
||||||
exit 77
|
exit 77
|
||||||
@@ -20,20 +21,6 @@ dir=p-perm-$$
|
|||||||
trap "cd $pwd; rm -rf $dir $other_partition_tmpdir" 0 1 2 3 15
|
trap "cd $pwd; rm -rf $dir $other_partition_tmpdir" 0 1 2 3 15
|
||||||
|
|
||||||
mkdir $dir
|
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
|
|
||||||
|
|
||||||
cd $dir
|
cd $dir
|
||||||
: > file
|
: > file
|
||||||
|
|||||||
Reference in New Issue
Block a user