From fb763e4f7a17ea1d034d1e8ad9b57bc3b217c645 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Oct 2002 09:21:08 +0000 Subject: [PATCH] Use double quotes around diagnostic. --- tests/chmod/equals | 2 +- tests/cp/backup-1 | 2 +- tests/cp/backup-is-src | 2 +- tests/cp/cp-mv-backup | 2 +- tests/cp/no-deref-link1 | 2 +- tests/cp/no-deref-link2 | 2 +- tests/cp/no-deref-link3 | 2 +- tests/cp/r-vs-symlink | 2 +- tests/du/slink | 2 +- tests/fmt/long-line | 2 +- tests/ls/recursive | 2 +- tests/ls/rt-1 | 2 +- tests/misc/csplit | 2 +- tests/misc/head-pos | 2 +- tests/misc/pathchk1 | 2 +- tests/misc/printf | 2 +- tests/misc/split-a | 2 +- tests/mv/dup-source | 2 +- tests/mv/i-link-no | 2 +- tests/mv/part-fail | 2 +- tests/mv/part-rename | 2 +- tests/mv/perm-1 | 2 +- tests/od/x8 | 2 +- tests/rm/dangling-symlink | 2 +- tests/rm/i-no-r | 2 +- tests/rm/r-1 | 2 +- tests/rm/rm1 | 2 +- tests/rm/rm2 | 2 +- tests/rm/rm3 | 2 +- tests/rm/rm4 | 2 +- tests/rm/rm5 | 2 +- tests/rm/sunos-1 | 2 +- tests/rm/unread2 | 2 +- tests/rmdir/t-slash | 2 +- tests/sample-test | 2 +- tests/tail-2/start-middle | 2 +- tests/touch/no-create-missing | 2 +- 37 files changed, 37 insertions(+), 37 deletions(-) diff --git a/tests/chmod/equals b/tests/chmod/equals index 82667e086b..2f833bea3a 100755 --- a/tests/chmod/equals +++ b/tests/chmod/equals @@ -18,7 +18,7 @@ cd $tmp || framework_failure=1 touch f || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/backup-1 b/tests/cp/backup-1 index 3116dd165c..29e36e58cc 100755 --- a/tests/cp/backup-1 +++ b/tests/cp/backup-1 @@ -15,7 +15,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/backup-is-src b/tests/cp/backup-is-src index 2d0e7d226d..d1eb1d3797 100755 --- a/tests/cp/backup-is-src +++ b/tests/cp/backup-is-src @@ -20,7 +20,7 @@ echo a > a || framework_failure=1 echo a-tilde > a~ || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup index e892d29ee9..f8186df46c 100755 --- a/tests/cp/cp-mv-backup +++ b/tests/cp/cp-mv-backup @@ -27,7 +27,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/no-deref-link1 b/tests/cp/no-deref-link1 index 24246b6f87..780ad20b75 100755 --- a/tests/cp/no-deref-link1 +++ b/tests/cp/no-deref-link1 @@ -17,7 +17,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/no-deref-link2 b/tests/cp/no-deref-link2 index 7663183642..21f2867ba8 100755 --- a/tests/cp/no-deref-link2 +++ b/tests/cp/no-deref-link2 @@ -17,7 +17,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/no-deref-link3 b/tests/cp/no-deref-link3 index 370803f7b2..c71691726e 100755 --- a/tests/cp/no-deref-link3 +++ b/tests/cp/no-deref-link3 @@ -17,7 +17,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/cp/r-vs-symlink b/tests/cp/r-vs-symlink index a06409ff27..22ea7caf62 100755 --- a/tests/cp/r-vs-symlink +++ b/tests/cp/r-vs-symlink @@ -24,7 +24,7 @@ ln -s foo slink || framework_failure=1 ln -s no-such-file no-file || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/du/slink b/tests/du/slink index 36fd31ab3f..b309dddf6d 100755 --- a/tests/du/slink +++ b/tests/du/slink @@ -16,7 +16,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/fmt/long-line b/tests/fmt/long-line index a5f789cb9d..9905e200c6 100755 --- a/tests/fmt/long-line +++ b/tests/fmt/long-line @@ -50,7 +50,7 @@ cat <<\EOF > exp || framework_failure=1 EOF if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/ls/recursive b/tests/ls/recursive index a7809b45a1..3b4cb72552 100755 --- a/tests/ls/recursive +++ b/tests/ls/recursive @@ -22,7 +22,7 @@ mkdir x y a b c a/1 a/2 a/3 || framework_failure=1 touch f a/1/I a/1/II || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/ls/rt-1 b/tests/ls/rt-1 index 5a4288431f..66aa3ca0b1 100755 --- a/tests/ls/rt-1 +++ b/tests/ls/rt-1 @@ -26,7 +26,7 @@ touch -d "$date" a || framework_failure=1 touch -d "$date" b || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/misc/csplit b/tests/misc/csplit index 5cb1b077ea..b0cb1faaef 100755 --- a/tests/misc/csplit +++ b/tests/misc/csplit @@ -18,7 +18,7 @@ mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/misc/head-pos b/tests/misc/head-pos index 3cb3ec186c..403dde627d 100755 --- a/tests/misc/head-pos +++ b/tests/misc/head-pos @@ -18,7 +18,7 @@ cd $tmp || framework_failure=1 (echo a; echo b) > in || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/misc/pathchk1 b/tests/misc/pathchk1 index a19cdb0b54..ecc131f4ae 100755 --- a/tests/misc/pathchk1 +++ b/tests/misc/pathchk1 @@ -19,7 +19,7 @@ cd $tmp || framework_failure=1 touch file || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/misc/printf b/tests/misc/printf index 70c0df5b6f..4e215026b4 100755 --- a/tests/misc/printf +++ b/tests/misc/printf @@ -16,7 +16,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/misc/split-a b/tests/misc/split-a index 5e4c0b73a3..1e0896849f 100755 --- a/tests/misc/split-a +++ b/tests/misc/split-a @@ -16,7 +16,7 @@ mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/mv/dup-source b/tests/mv/dup-source index 350be11462..4028538283 100755 --- a/tests/mv/dup-source +++ b/tests/mv/dup-source @@ -24,7 +24,7 @@ mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/mv/i-link-no b/tests/mv/i-link-no index ec5c7ba2d3..ed72164abe 100755 --- a/tests/mv/i-link-no +++ b/tests/mv/i-link-no @@ -25,7 +25,7 @@ ln b/FUBAR b/bar || framework_failure=1 chmod a-w b/bar || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/mv/part-fail b/tests/mv/part-fail index b512db7f01..09d29df507 100755 --- a/tests/mv/part-fail +++ b/tests/mv/part-fail @@ -31,7 +31,7 @@ touch k $other_partition_tmpdir/k || framework_failure=1 chmod u-w $other_partition_tmpdir || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/mv/part-rename b/tests/mv/part-rename index 9ce1e89df1..e908c55c81 100755 --- a/tests/mv/part-rename +++ b/tests/mv/part-rename @@ -27,7 +27,7 @@ cd $tmp || framework_failure=1 mkdir foo || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/mv/perm-1 b/tests/mv/perm-1 index 9a821bc227..4f00690b87 100755 --- a/tests/mv/perm-1 +++ b/tests/mv/perm-1 @@ -23,7 +23,7 @@ mkdir -p no-write/dir || framework_failure=1 chmod u-w no-write || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/od/x8 b/tests/od/x8 index 9af4efba2f..0d88bb85e7 100755 --- a/tests/od/x8 +++ b/tests/od/x8 @@ -18,7 +18,7 @@ cd $tmp || framework_failure=1 echo abcdefgh |tr -d '\n' > in || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/rm/dangling-symlink b/tests/rm/dangling-symlink index ac0de56504..35ad93010c 100755 --- a/tests/rm/dangling-symlink +++ b/tests/rm/dangling-symlink @@ -21,7 +21,7 @@ ln -s no-file dangle ln -s / symlink if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/i-no-r b/tests/rm/i-no-r index ab325d242e..57733c8fd1 100755 --- a/tests/rm/i-no-r +++ b/tests/rm/i-no-r @@ -20,7 +20,7 @@ mkdir dir || framework_failure=1 echo y > y || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/rm/r-1 b/tests/rm/r-1 index e755346d18..91560c8cee 100755 --- a/tests/rm/r-1 +++ b/tests/rm/r-1 @@ -28,7 +28,7 @@ removed `b' EOF if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/rm1 b/tests/rm/rm1 index 01dc3c2dfe..998a30673a 100755 --- a/tests/rm/rm1 +++ b/tests/rm/rm1 @@ -22,7 +22,7 @@ mkdir -p b/a/p b/c b/d || framework_failure=1 chmod u-w b/a || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/rm2 b/tests/rm/rm2 index 5ff948d29c..e2d83f6113 100755 --- a/tests/rm/rm2 +++ b/tests/rm/rm2 @@ -22,7 +22,7 @@ mkdir -p a/1/2 b/3 || framework_failure=1 chmod u-x a/1 b || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/rm3 b/tests/rm/rm3 index a7699f3ad4..0f0bce83b5 100755 --- a/tests/rm/rm3 +++ b/tests/rm/rm3 @@ -29,7 +29,7 @@ chmod u-w fu du empty-u || framework_failure=1 cd .. if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/rm4 b/tests/rm/rm4 index 4797a23476..289f3e7ab9 100755 --- a/tests/rm/rm4 +++ b/tests/rm/rm4 @@ -21,7 +21,7 @@ cd $tmp || framework_failure=1 mkdir dir || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/rm5 b/tests/rm/rm5 index d2bc70a240..55e74eeade 100755 --- a/tests/rm/rm5 +++ b/tests/rm/rm5 @@ -32,7 +32,7 @@ rm: remove directory `d' EOF if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/sunos-1 b/tests/rm/sunos-1 index 366578096b..c5f10fd454 100755 --- a/tests/rm/sunos-1 +++ b/tests/rm/sunos-1 @@ -19,7 +19,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rm/unread2 b/tests/rm/unread2 index 3468e7f5df..730f88b552 100755 --- a/tests/rm/unread2 +++ b/tests/rm/unread2 @@ -22,7 +22,7 @@ mkdir -p a/b || framework_failure=1 chmod u-r a if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/rmdir/t-slash b/tests/rmdir/t-slash index 94d37415d5..bc67c846b7 100755 --- a/tests/rmdir/t-slash +++ b/tests/rmdir/t-slash @@ -17,7 +17,7 @@ cd $tmp || framework_failure=1 mkdir dir || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/sample-test b/tests/sample-test index 96e3b48467..9cb755c55d 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -21,7 +21,7 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1 fi diff --git a/tests/tail-2/start-middle b/tests/tail-2/start-middle index 6688716910..143c4538ad 100755 --- a/tests/tail-2/start-middle +++ b/tests/tail-2/start-middle @@ -19,7 +19,7 @@ cd $tmp || framework_failure=1 (echo 1; echo 2) > k || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi diff --git a/tests/touch/no-create-missing b/tests/touch/no-create-missing index ab7cf265e1..24745fa2d6 100755 --- a/tests/touch/no-create-missing +++ b/tests/touch/no-create-missing @@ -16,7 +16,7 @@ mkdir $tmp || framework_failure=1 cd $tmp || framework_failure=1 if test $framework_failure = 1; then - echo '$0: failure in testing framework' 1>&2 + echo "$0: failure in testing framework" 1>&2 (exit 1); exit fi -- 2.47.2