summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-06-13 17:17:05 -0700
committerGuy Harris <gharris@sonic.net>2020-06-13 17:17:05 -0700
commit162307893b533ab20473f18a5eb877cd4cb025c9 (patch)
tree4bb13c8dca303d6e1e6161a56799465bf6fab999
parente0466963147e83bb4493c40985ac6258e6bbe83b (diff)
downloadtcpdump-162307893b533ab20473f18a5eb877cd4cb025c9.tar.gz
TESTrun: put all redirection at the end of the command line.
That makes it a bit easier to read.
-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 = $!;