1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

r18575: - use the right variable to teststatus

- don't display the "(NN tests failed so far)" message unless a test
  has failed
This commit is contained in:
Andrew Tridgell
2006-09-15 23:00:32 +00:00
committed by Gerald (Jerry) Carter
parent 5e143267d7
commit da37e963ce
2 changed files with 7 additions and 2 deletions

View File

@@ -100,7 +100,12 @@ testit() {
date
echo "Testing $name"
else
echo "Testing $name (`expr $failed + $totalfailed` test failed so far)"
nf="`expr $failed + $totalfailed`";
if [ "$nf" = "0" ]; then
echo "Testing $name"
else
echo "Testing $name ($nf tests failed so far)"
fi
fi
smbd_check_only && SMBD_IS_UP="yes"