diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-31 01:30:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-31 01:30:42 +0000 |
commit | f51c567de367f6c931b9aae6975fa77aa678eec8 (patch) | |
tree | af40f9245811928f3a8d5792bb66fd6b886cc2e3 | |
parent | 9b2acca63e6d386cb5ddb248648fec4e856905e7 (diff) |
Show stderr log file for test 518 unconditionally.
In this way we'll be able to sort out problems that might
arise in the prechek phase of the 518 test.
Once that 518 has been verified this change will be undone.
-rwxr-xr-x | tests/runtests.pl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index e3e970869..f2170e629 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1216,7 +1216,13 @@ sub singletest { $cmd = $precheck[0]; chomp $cmd; if($cmd) { - my @o = `$cmd 2>/dev/null`; + my @o; + if($testnum == 518) { + @o = `$cmd 2>"$LOGDIR/stderr$testnum"`; + } + else { + @o = `$cmd 2>/dev/null`; + } if($o[0]) { $why = $o[0]; chomp $why; @@ -1225,6 +1231,12 @@ sub singletest { } } + if($testnum == 518) { + logmsg "== Start of file $LOGDIR/stderr$testnum\n"; + displaylogcontent("$LOGDIR/stderr$testnum"); + logmsg "== End of file $LOGDIR/stderr$testnum\n"; + } + if($why) { # there's a problem, count it as "skipped" $skipped++; |