From f2d4fc8016ca7a7b2525ccfccd6e8ee5710277e1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Aug 1998 03:04:06 +0000 Subject: [PATCH] Avoid bug in Ultrix4.3a /bin/sh, not initializing output redirection of : command. --- tests/mv/backup-is-src | 4 ++-- 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 6c1429eafd..de1422f808 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 f16aaf2edd..4020132c5b 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 -- 2.47.3