On Tue, 28 Jan 2014, Petr Lautrbach wrote: > Hi, > > regress/agent.sh reports wrong exit codes when some of tests fail: > > run test agent.sh ... > agent fwd proto 1 failed (exit code 0) > agent fwd proto 2 failed (exit code 0) > failed simple agent test > > It's probably due to using $? value in error message after > "if [ $? -ne 0 ]; then" > which sets $? to 0. Thanks for spotting this. I've commited your patch and also fixed the same problem in agent-ptrace.sh. -- Tim Rice Multitalents tim@xxxxxxxxxxxxxxxx _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev