test/runtests.sh: improve failed list
@@ -39,7 +39,11 @@ run_test()
echo "Test $T timed out (may not be a failure)"
elif [ "${r}" -ne 0 ]; then
echo "Test $T failed with ret ${r}"
+ if [ -z "$D" ]; then
+ FAILED="$FAILED <$T>"
+ else
FAILED="$FAILED <$T $D>"
+ fi
RET=1
elif [ ! -z "$D" ]; then
sleep .1
