From 10a6b91082a1e58d1086295c2f3fbe880952e1da Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 17 Mar 2001 22:15:54 +0000 Subject: Use ../envvar-check rather than open-coding the same tests. --- tests/install/create-leading | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'tests/install') diff --git a/tests/install/create-leading b/tests/install/create-leading index 8bcba57ae..963e6a135 100755 --- a/tests/install/create-leading +++ b/tests/install/create-leading @@ -8,26 +8,14 @@ if test "$VERBOSE" = yes; then ginstall --version fi +. $srcdir/../envvar-check + pwd=`pwd` dir=install-D$$ trap "cd $pwd; 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 fail=0 cd $dir -- cgit v1.2.3-54-g00ecf