diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-08 09:22:49 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-15 08:40:38 +0200 |
commit | 74ffe86ed05cd6bab4b9d31d63cf94637f867c04 (patch) | |
tree | 96e8be7c1101c94d4f51969011cd761de9265d63 /tests/install/create-leading | |
parent | a0cbaa4fc80a6b75b4f3b09f46a05702449fd7e4 (diff) | |
download | coreutils-74ffe86ed05cd6bab4b9d31d63cf94637f867c04.tar.xz |
Convert tests/install/, too.
Diffstat (limited to 'tests/install/create-leading')
-rwxr-xr-x | tests/install/create-leading | 13 |
1 files changed, 3 insertions, 10 deletions
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 |