summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_cifsdd.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-08 04:35:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:55 -0500
commitcaa4bfce7c2e152bcdf95878677913987af70cbd (patch)
treee340fddad34adffbb84b686c325b7a0edcc941ff /source4/script/tests/test_cifsdd.sh
parent8d21ad6c25d1298d3a682077a2080571ccb70030 (diff)
downloadsamba-caa4bfce7c2e152bcdf95878677913987af70cbd.tar.gz
samba-caa4bfce7c2e152bcdf95878677913987af70cbd.tar.bz2
samba-caa4bfce7c2e152bcdf95878677913987af70cbd.zip
r18247: more shell portability fixes
(This used to be commit d9ddfdf9e86295224dd42c0ab1aa954111ede588)
Diffstat (limited to 'source4/script/tests/test_cifsdd.sh')
-rwxr-xr-xsource4/script/tests/test_cifsdd.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/script/tests/test_cifsdd.sh b/source4/script/tests/test_cifsdd.sh
index bb73202162..45c1b1c04a 100755
--- a/source4/script/tests/test_cifsdd.sh
+++ b/source4/script/tests/test_cifsdd.sh
@@ -37,8 +37,7 @@ compare() {
if [ -r $1 -a -r $2 ] ; then
sum1=`sum $1`
sum2=`sum $2`
-
- [[ x"$sum1" = x"$sum2" ]]
+ test "$sum1" = "$sum2"
else
false
fi