diff options
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/tests/test_cifsdd.sh | 8 |
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` |