summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-10-08 09:21:08 +0000
committerJim Meyering <jim@meyering.net>2002-10-08 09:21:08 +0000
commitfb763e4f7a17ea1d034d1e8ad9b57bc3b217c645 (patch)
treed09246edabe78a9c4b537ff25232a0eaf3084d1e /tests
parentf3584c5e622d933ba7e2532ea6e6f07f8c1fc60d (diff)
downloadcoreutils-fb763e4f7a17ea1d034d1e8ad9b57bc3b217c645.tar.xz
Use double quotes around diagnostic.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/chmod/equals2
-rwxr-xr-xtests/cp/backup-12
-rwxr-xr-xtests/cp/backup-is-src2
-rwxr-xr-xtests/cp/cp-mv-backup2
-rwxr-xr-xtests/cp/no-deref-link12
-rwxr-xr-xtests/cp/no-deref-link22
-rwxr-xr-xtests/cp/no-deref-link32
-rwxr-xr-xtests/cp/r-vs-symlink2
-rwxr-xr-xtests/du/slink2
-rwxr-xr-xtests/fmt/long-line2
-rwxr-xr-xtests/ls/recursive2
-rwxr-xr-xtests/ls/rt-12
-rwxr-xr-xtests/misc/csplit2
-rwxr-xr-xtests/misc/head-pos2
-rwxr-xr-xtests/misc/pathchk12
-rwxr-xr-xtests/misc/printf2
-rwxr-xr-xtests/misc/split-a2
-rwxr-xr-xtests/mv/dup-source2
-rwxr-xr-xtests/mv/i-link-no2
-rwxr-xr-xtests/mv/part-fail2
-rwxr-xr-xtests/mv/part-rename2
-rwxr-xr-xtests/mv/perm-12
-rwxr-xr-xtests/od/x82
-rwxr-xr-xtests/rm/dangling-symlink2
-rwxr-xr-xtests/rm/i-no-r2
-rwxr-xr-xtests/rm/r-12
-rwxr-xr-xtests/rm/rm12
-rwxr-xr-xtests/rm/rm22
-rwxr-xr-xtests/rm/rm32
-rwxr-xr-xtests/rm/rm42
-rwxr-xr-xtests/rm/rm52
-rwxr-xr-xtests/rm/sunos-12
-rwxr-xr-xtests/rm/unread22
-rwxr-xr-xtests/rmdir/t-slash2
-rw-r--r--tests/sample-test2
-rwxr-xr-xtests/tail-2/start-middle2
-rwxr-xr-xtests/touch/no-create-missing2
37 files changed, 37 insertions, 37 deletions
diff --git a/tests/chmod/equals b/tests/chmod/equals
index 82667e086..2f833bea3 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 3116dd165..29e36e58c 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 2d0e7d226..d1eb1d379 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 e892d29ee..f8186df46 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 24246b6f8..780ad20b7 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 766318364..21f2867ba 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 370803f7b..c71691726 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 a06409ff2..22ea7caf6 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 36fd31ab3..b309dddf6 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 a5f789cb9..9905e200c 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 a7809b45a..3b4cb7255 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 5a4288431..66aa3ca0b 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 5cb1b077e..b0cb1faae 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 3cb3ec186..403dde627 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 a19cdb0b5..ecc131f4a 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 70c0df5b6..4e215026b 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 5e4c0b73a..1e0896849 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 350be1146..402853828 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 ec5c7ba2d..ed72164ab 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 b512db7f0..09d29df50 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 9ce1e89df..e908c55c8 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 9a821bc22..4f00690b8 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 9af4efba2..0d88bb85e 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 ac0de5650..35ad93010 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 ab325d242..57733c8fd 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 e755346d1..91560c8ce 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 01dc3c2df..998a30673 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 5ff948d29..e2d83f611 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 a7699f3ad..0f0bce83b 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 4797a2347..289f3e7ab 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 d2bc70a24..55e74eead 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 366578096..c5f10fd45 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 3468e7f5d..730f88b55 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 94d37415d..bc67c846b 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 96e3b4846..9cb755c55 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 668871691..143c4538a 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 ab7cf265e..24745fa2d 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