aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index e9e5049aa..d0061cb0c 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -621,7 +621,11 @@ sub singletest {
if($errorcode || $res) {
if($errorcode == $res) {
- if(!$short) {
+ $errorcode =~ s/\n//;
+ if($verbose) {
+ print " received errorcode $errorcode OK";
+ }
+ elsif(!$short) {
print " error OK";
}
}