From 74ffe86ed05cd6bab4b9d31d63cf94637f867c04 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Sep 2007 09:22:49 +0200 Subject: Convert tests/install/, too. --- tests/install/create-leading | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'tests/install/create-leading') diff --git a/tests/install/create-leading b/tests/install/create-leading index e4441687c..c639dc554 100755 --- a/tests/install/create-leading +++ b/tests/install/create-leading @@ -1,7 +1,7 @@ #! /bin/sh # Test -D option. -# Copyright (C) 2000, 2001, 2006 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 2006, 2007 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,17 +24,10 @@ 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 +. $srcdir/../test-lib.sh fail=0 -cd $dir + file=file echo foo > $file -- cgit v1.2.3-70-g09d2