diff options
author | ariel faigon <github.2009@yendor.com> | 2014-01-14 09:29:21 +0400 |
---|---|---|
committer | ariel faigon <github.2009@yendor.com> | 2014-01-14 09:29:21 +0400 |
commit | 16a75920eeadca4cf7cda9d381671b197d3112fd (patch) | |
tree | 4e585b305df7ad680901b41498b622c62a5af738 /test/RunTests | |
parent | f5685603d2f7c4e126e0af1c415749c38fe6b683 (diff) |
unlink temp stdout & stderr files before running the tests - for safety.
Diffstat (limited to 'test/RunTests')
-rwxr-xr-x | test/RunTests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/RunTests b/test/RunTests index 8c15232d..76603a67 100755 --- a/test/RunTests +++ b/test/RunTests @@ -507,6 +507,7 @@ sub run_tests() { } ($outf, $errf) = ('stdout.tmp', 'stderr.tmp'); + unlink $outf, $errf; # just in case, to be safer # run the test print STDERR "Test $TestNo: ($cmd) >$outf 2>$errf\n" if ($opt_c); |