tcpdump/SOURCES/0009-Change-n-flag-to-nn-in-TESTonce.patch

25 lines
953 B
Diff
Raw Normal View History

2019-08-02 16:09:47 +00:00
From 04e23aa3f91ff137237daf68f02e7b3c0c1a9168 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Tue, 11 Apr 2017 09:19:48 +0200
Subject: [PATCH 09/13] Change -n flag to -nn in TESTonce
We need to change this because we have a different meaning of -n
flag than upstream does. We use -nn in those cases.
---
tests/TESTonce | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TESTonce b/tests/TESTonce
2020-07-28 10:55:24 +00:00
index 425abaa..81283d9 100755
2019-08-02 16:09:47 +00:00
--- a/tests/TESTonce
+++ b/tests/TESTonce
2020-07-28 10:55:24 +00:00
@@ -43,7 +43,7 @@ if ($^O eq 'MSWin32') {
2019-08-02 16:09:47 +00:00
else {
# 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.
2020-07-28 10:55:24 +00:00
- $cmd = "$TCPDUMP 2>${rawstderrlog} -t -n -r $input $options >tests/NEW/${outputbase}";
+ $cmd = "$TCPDUMP 2>${rawstderrlog} -t -nn -r $input $options >tests/NEW/${outputbase}";
print "CMD: $cmd\n" if $debug;
$r = system $cmd;
if($r == -1) {