summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-15 03:04:06 +0000
committerJim Meyering <jim@meyering.net>1998-08-15 03:04:06 +0000
commitf2d4fc8016ca7a7b2525ccfccd6e8ee5710277e1 (patch)
treeabe4125e50c6b5952dfb24fe84126cca6c10bf7b /tests
parentbf57f4af46f5a8f174cfdf60a33da497bfa87f4b (diff)
downloadcoreutils-f2d4fc8016ca7a7b2525ccfccd6e8ee5710277e1.tar.xz
Avoid bug in Ultrix4.3a /bin/sh,
not initializing output redirection of : command.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mv/backup-is-src4
-rwxr-xr-xtests/rm/i-12
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