From c10debe53dde1efd040cc61bb9366bfbfa23ef25 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Sep 2006 10:22:47 +0000 Subject: r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on solaris (This used to be commit 3828c463ad31ae1ce4a4aba307126bd47adc1329) --- source4/script/tests/test_cifsdd.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4/script') 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` -- cgit