diff options
author | Guy Harris <gharris@sonic.net> | 2020-06-13 17:17:05 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-06-13 17:17:05 -0700 |
commit | 162307893b533ab20473f18a5eb877cd4cb025c9 (patch) | |
tree | 4bb13c8dca303d6e1e6161a56799465bf6fab999 /tests | |
parent | e0466963147e83bb4493c40985ac6258e6bbe83b (diff) | |
download | tcpdump-162307893b533ab20473f18a5eb877cd4cb025c9.tar.gz |
TESTrun: put all redirection at the end of the command line.
That makes it a bit easier to read.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/TESTrun | 2 |
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 = $!; |