diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-07 15:25:23 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-15 08:40:38 +0200 |
commit | ec2064acc84d9cc6e0bfae04c591974efc449d8a (patch) | |
tree | fc20b7c780175d6f428c392ce333199c9b24e79f /tests/du/slink | |
parent | 18b3231bbfdb1fe36c08511bda930588cc836c71 (diff) | |
download | coreutils-ec2064acc84d9cc6e0bfae04c591974efc449d8a.tar.xz |
Convert tests/du/*, too.
Diffstat (limited to 'tests/du/slink')
-rwxr-xr-x | tests/du/slink | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/du/slink b/tests/du/slink index 5913d8371..e9f7bbd7d 100755 --- a/tests/du/slink +++ b/tests/du/slink @@ -21,14 +21,7 @@ if test "$VERBOSE" = yes; then du --version fi -pwd=`pwd` -t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0 -trap '(exit $?); exit $?' 1 2 13 15 - -framework_failure=0 -mkdir -p $tmp || framework_failure=1 -cd $tmp || framework_failure=1 +. $srcdir/../test-lib.sh # Determine if `.' is on a local (would non-NFS be sufficient?) file system. # On at least some NFS implementations, symlinks never take up space, @@ -55,11 +48,6 @@ if df --type=nfsv3 . >/dev/null 2>&1; then (exit 77); exit 77 fi -if test $framework_failure = 1; then - echo "$0: failure in testing framework" 1>&2 - (exit 1); exit 1 -fi - fail=0 symlink_name_lengths='1 15 16 31 32 59 60 63 64 127 128 255 256 511 512 1024' for len in $symlink_name_lengths; do |