summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/TESTrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TESTrun b/tests/TESTrun
index 52443a77..bdc6555a 100755
--- a/tests/TESTrun
+++ b/tests/TESTrun
@@ -94,7 +94,7 @@ sub runtest {
# we used to do this as a nice pipeline, but the problem is that $r fails to
# to be set properly if the tcpdump core dumps.
- $r = system "$TCPDUMP 2>${rawstderrlog} -# -n -r $input $options >tests/NEW/${outputbase}";
+ $r = system "$TCPDUMP -# -n -r $input $options >tests/NEW/${outputbase} 2>${rawstderrlog}";
if($r == -1) {
# failed to start due to error.
$status = $!;