summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-09 10:22:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:05 -0500
commitc10debe53dde1efd040cc61bb9366bfbfa23ef25 (patch)
treec9368f103f19dc04f926768d63838652f26133f3 /source4
parent30ee8beb9316a99e8a49993306252591106cb349 (diff)
downloadsamba-c10debe53dde1efd040cc61bb9366bfbfa23ef25.tar.gz
samba-c10debe53dde1efd040cc61bb9366bfbfa23ef25.tar.bz2
samba-c10debe53dde1efd040cc61bb9366bfbfa23ef25.zip
r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris (This used to be commit 3828c463ad31ae1ce4a4aba307126bd47adc1329)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/test_cifsdd.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/script/tests/test_cifsdd.sh b/source4/script/tests/test_cifsdd.sh
index 45c1b1c04a..1fc8932d5b 100755
--- a/source4/script/tests/test_cifsdd.sh
+++ b/source4/script/tests/test_cifsdd.sh
@@ -34,13 +34,7 @@ runcopy() {
}
compare() {
- if [ -r $1 -a -r $2 ] ; then
- sum1=`sum $1`
- sum2=`sum $2`
- test "$sum1" = "$sum2"
- else
- false
- fi
+ cmp "$1" "$2"
}
incdir=`dirname $0`