diff options
author | Jim Meyering <jim@meyering.net> | 1997-08-02 17:36:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-08-02 17:36:07 +0000 |
commit | 6e08ff4f7117a746b61e63d71695d6a979042226 (patch) | |
tree | 74d3a5bbf928b72f45fa8321e321cb8a8d2f64d5 | |
parent | 6df8557d334f59dd33be9bd802969ac843f6d07e (diff) | |
download | coreutils-6e08ff4f7117a746b61e63d71695d6a979042226.tar.xz |
*** empty log message ***
-rwxr-xr-x | tests/rm/deep-1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/rm/deep-1 b/tests/rm/deep-1 index 4f0a55783..57cfb9615 100755 --- a/tests/rm/deep-1 +++ b/tests/rm/deep-1 @@ -28,6 +28,10 @@ tmp=$RM_TMPDIR/t-rm.$$ k20=/k/k/k/k/k/k/k/k/k/k/k/k/k/k/k/k/k/k/k/k k200=$k20$k20$k20$k20$k20$k20$k20$k20$k20$k20 + +# Be careful not to exceed max file name length (usu 512?). +# Doing so wouldn't affect GNU mkdir or GNU rm, but any tool that +# operates on the full pathname (like `test') would choke. k_deep=$k200$k200 # Create a directory in $tmp with lots of `k' components. @@ -41,7 +45,7 @@ test -d $deep || fail=1 $RM -r $tmp || fail=1 -# Make sure it was deleted. -test -d $deep && fail=1 +# Make sure all of $tmp was deleted. +test -d $tmp && fail=1 exit $fail |