Full_Name: Hallvard B Furuseth
Version: HEAD, RE24
Submission from: (NULL) (188.8.131.52)
Submitted by: hallvard
Some tests exit with the result code of the last failed command,
even when that is 0 (success) and the command should have failed:
if test $RC != 10 ; then
echo "ldapmodify should have returned referral ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
Fixing most cases I've spotted.
However someone who knows pcache should look at test020-proxycache.
It has 'exit 0's which look intentional, some which look like errors
(says "should have failed"), and some 'return $RC's which RC can be 0.
Show replies by date