diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-01 16:32:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:15 -0500 |
commit | 457261e2a2e2a1a5d9c245170713e37784497ab5 (patch) | |
tree | ae37ea8a8c9e7aaad5482323d1f2baeb2cd1c042 /source4 | |
parent | 6732229ccc64f82147f472e03634354aa4cfa9b5 (diff) | |
download | samba-457261e2a2e2a1a5d9c245170713e37784497ab5.tar.gz samba-457261e2a2e2a1a5d9c245170713e37784497ab5.tar.bz2 samba-457261e2a2e2a1a5d9c245170713e37784497ab5.zip |
r8885: fixed shell syntax
(This used to be commit 00ea1f38a36a0e45219a941a38875787bf526661)
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/script/tests/selftest.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 17e991cc72..b102bf20fe 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -149,8 +149,8 @@ echo "START: $START ($0)"; echo "END: $END ($0)"; # if there were any valgrind failures, show them -list=`find $PREFIX -name 'valgrind.log*'` -if [ x$list != x ]; then +count=`find $PREFIX -name 'valgrind.log*' | wc -l` +if [ "$count" != 0 ]; then for f in $PREFIX/valgrind.log*; do if [ -s $f ]; then echo "VALGRIND FAILURE"; |