aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDiomidis Spinellis <dds@FreeBSD.org>2007-12-18 08:53:04 +0000
committerDiomidis Spinellis <dds@FreeBSD.org>2007-12-18 08:53:04 +0000
commit381e3dcbea71497fe9857f2a2f9934fcd8ae61ae (patch)
tree32abe0a079594c0f4fc82249a4991d80d42fbd66 /tools
parent36571ab3b5c432f431348c8d3486049a8c0a4395 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/mv/regress.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/regression/bin/mv/regress.sh b/tools/regression/bin/mv/regress.sh
index f75c10499222..fff420fa6deb 100644
--- a/tools/regression/bin/mv/regress.sh
+++ b/tools/regression/bin/mv/regress.sh
@@ -26,9 +26,9 @@ end()
{
if [ $OK = 1 ]
then
- echo -n 'ok '
+ printf 'ok '
else
- echo -n 'not ok '
+ printf 'not ok '
fi
echo "$COUNT - $NAME"
cd ..
@@ -45,7 +45,7 @@ mkf()
# Verify that the file specified is correct
ckf()
{
- if [ -f $2 ] && echo "$1-$1" | diff -q - $2
+ if [ -f $2 ] && echo "$1-$1" | diff - $2 >/dev/null
then
ok
else
@@ -92,7 +92,7 @@ ckd()
# (is not there)
cknt()
{
- if [ -e $1 ]
+ if [ -r $1 ]
then
notok
else