mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12: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:
committed by
Gerald (Jerry) Carter
parent
5e143267d7
commit
da37e963ce
@@ -139,4 +139,4 @@ if [ "$count" != 0 ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
teststatus $ARG0 $totalfailed
|
||||
teststatus $ARG0 $failed
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user