if($r == 0) {
if($linecount == 0) {
- printf " %-35s: passed\n", $name;
+ printf " %-40s: passed\n", $name;
} else {
- printf " %-35s: passed with error messages:\n", $name;
+ printf " %-40s: passed with error messages:\n", $name;
system "cat $stderrlog";
}
unlink "DIFF/$outputbase.diff";
exit 0;
}
# must have failed!
-printf " %-35s: TEST FAILED(exit core=%d/diffstat=%d,%d/r=%d)", $name, $coredump, $diffstat, $errdiffstat, $r;
+printf " %-40s: TEST FAILED(exit core=%d/diffstat=%d,%d/r=%d)", $name, $coredump, $diffstat, $errdiffstat, $r;
open FOUT, '>>failure-outputs.txt';
printf FOUT "\nFailed test: $name\n\n";
close FOUT;
# Reading the secret(s) from a file does not work with Capsicum.
if grep '^#define HAVE_CAPSICUM 1$' ../config.h >/dev/null
then
- FORMAT=' %-35s: TEST SKIPPED (compiled w/Capsicum)\n'
+ FORMAT=' %-40s: TEST SKIPPED (compiled w/Capsicum)\n'
printf "$FORMAT" esp4
printf "$FORMAT" esp5
printf "$FORMAT" espudp1
echo $failed >.failed
exitcode=1
fi
- FORMAT=' %-35s: TEST SKIPPED (compiled w/OpenSSL)\n'
+ FORMAT=' %-40s: TEST SKIPPED (compiled w/OpenSSL)\n'
printf "$FORMAT" bgp-as-path-oobr-nossl
printf "$FORMAT" bgp-aigp-oobr-nossl
else
- FORMAT=' %-35s: TEST SKIPPED (compiled w/o OpenSSL)\n'
+ FORMAT=' %-40s: TEST SKIPPED (compiled w/o OpenSSL)\n'
printf "$FORMAT" esp1
printf "$FORMAT" esp2
printf "$FORMAT" esp3
if [ ! -f ../Makefile ]
then
- printf ' %-35s: TEST SKIPPED (no Makefile)\n' $test_name
+ printf ' %-40s: TEST SKIPPED (no Makefile)\n' $test_name
elif grep '^CC = .*gcc' ../Makefile >/dev/null
then
passed=`cat .passed`
exitcode=1
fi
else
- printf ' %-35s: TEST SKIPPED (compiler is not GCC)\n' $test_name
+ printf ' %-40s: TEST SKIPPED (compiler is not GCC)\n' $test_name
fi
exit $exitcode
# that won't return an error when the file does not exist. Work around.
if [ ! -f ../Makefile ]
then
- printf ' %-35s: TEST SKIPPED (no Makefile)\n' 'lmp-v'
+ printf ' %-40s: TEST SKIPPED (no Makefile)\n' 'lmp-v'
elif grep '^CC = .*gcc' ../Makefile >/dev/null
then
passed=`cat .passed`
exitcode=1
fi
else
- printf ' %-35s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v'
+ printf ' %-40s: TEST SKIPPED (compiler is not GCC)\n' 'lmp-v'
fi
exit $exitcode