Use double quotes around diagnostic.

This commit is contained in:
Jim Meyering
2002-10-08 09:21:08 +00:00
parent f3584c5e62
commit fb763e4f7a
37 changed files with 37 additions and 37 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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