diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-12 07:07:32 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-12 07:07:32 +0000 |
commit | 0dfc08bf3a0ded5f6ec655db0aa7d6f80c5abdee (patch) | |
tree | d61a61dc7c0c08200edfc39fb0576349479402bc /tests/du/long-from-unreadable | |
parent | 9066275509f32818e75d8109aafd43c57847c05c (diff) | |
download | coreutils-0dfc08bf3a0ded5f6ec655db0aa7d6f80c5abdee.tar.xz |
Solaris 8 sh doesn't understand "if !". Do not assume that 'sed' can
handle long, newline-free input.
Diffstat (limited to 'tests/du/long-from-unreadable')
-rwxr-xr-x | tests/du/long-from-unreadable | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/du/long-from-unreadable b/tests/du/long-from-unreadable index 02877f46f..2ae7ed1d9 100755 --- a/tests/du/long-from-unreadable +++ b/tests/du/long-from-unreadable @@ -19,7 +19,7 @@ fi . $srcdir/../envvar-check proc_file=/proc/self/fd -if ! test -d $proc_file; then +if test ! -d $proc_file; then cat <<EOF >&2 $0: Skipping this test. It would fail, since your system lacks /proc support. @@ -36,7 +36,7 @@ framework_failure=0 mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 -dir=`printf %200s ' '|sed 's/ /x/g'` +dir=`printf '%200s\n' ' '|tr ' ' x` # Construct a hierarchy containing a relative file with a name # longer than PATH_MAX. |