diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-15 03:04:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-15 03:04:06 +0000 |
commit | f2d4fc8016ca7a7b2525ccfccd6e8ee5710277e1 (patch) | |
tree | abe4125e50c6b5952dfb24fe84126cca6c10bf7b /tests | |
parent | bf57f4af46f5a8f174cfdf60a33da497bfa87f4b (diff) | |
download | coreutils-f2d4fc8016ca7a7b2525ccfccd6e8ee5710277e1.tar.xz |
Avoid bug in Ultrix4.3a /bin/sh,
not initializing output redirection of : command.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/mv/backup-is-src | 4 | ||||
-rwxr-xr-x | tests/rm/i-1 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/mv/backup-is-src b/tests/mv/backup-is-src index 6c1429eaf..de1422f80 100755 --- a/tests/mv/backup-is-src +++ b/tests/mv/backup-is-src @@ -20,8 +20,8 @@ a2="$other_partition_tmpdir/a~" framework_failure=0 $RM -f $a $a2 || framework_failure=1 -: > $a || framework_failure=1 -echo a > $a2 || framework_failure=1 +echo a > $a || framework_failure=1 +echo a2 > $a2 || framework_failure=1 if test $framework_failure = 1; then echo 'failure in testing framework' diff --git a/tests/rm/i-1 b/tests/rm/i-1 index f16aaf2ed..4020132c5 100755 --- a/tests/rm/i-1 +++ b/tests/rm/i-1 @@ -15,7 +15,7 @@ tmp=$RM_TMPDIR/t-rm.$$ test_failure=0 mkdir $tmp || test_failure=1 -: > $tmp/a || test_failure=1 +echo > $tmp/a || test_failure=1 test -f $tmp/a || test_failure=1 if test $test_failure = 1; then |