summaryrefslogtreecommitdiff
path: root/tests/regression.sh
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-01-01 23:38:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-01 23:38:09 +0000
commit281a74da6022ccfb854c1441ac6323f7d75afbdc (patch)
tree0e0ab7ca72ff1a30f2a2b60686d416a54443681c /tests/regression.sh
parent2d2651f821e3b3c3936051f2015351381f374608 (diff)
spaces in path fixes
Originally committed as revision 3791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-xtests/regression.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regression.sh b/tests/regression.sh
index c3d24f30ce..ddaaf391d1 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -5,14 +5,14 @@
#
#set -x
# Even in the 21st century some diffs are not supporting -u.
-diff -u $0 $0 > /dev/null 2>&1
+diff -u "$0" "$0" > /dev/null 2>&1
if [ $? -eq 0 ]; then
diff_cmd="diff -u"
else
diff_cmd="diff"
fi
-diff -w $0 $0 > /dev/null 2>&1
+diff -w "$0" "$0" > /dev/null 2>&1
if [ $? -eq 0 ]; then
diff_cmd="$diff_cmd -w"
fi
@@ -644,7 +644,7 @@ fi
-if $diff_cmd $logfile $reffile ; then
+if $diff_cmd "$logfile" "$reffile" ; then
echo
echo Regression test succeeded.
exit 0