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

106355
From 04e23aa3f91ff137237daf68f02e7b3c0c1a9168 Mon Sep 17 00:00:00 2001
106355
From: rpm-build <rpm-build>
106355
Date: Tue, 11 Apr 2017 09:19:48 +0200
106355
Subject: [PATCH 09/13] Change -n flag to -nn in TESTonce
106355
106355
We need to change this because we have a different meaning of -n
106355
flag than upstream does. We use -nn in those cases.
106355
---
106355
 tests/TESTonce | 2 +-
106355
 1 file changed, 1 insertion(+), 1 deletion(-)
106355
106355
diff --git a/tests/TESTonce b/tests/TESTonce
106355
index 7026624..e348701 100755
106355
--- a/tests/TESTonce
106355
+++ b/tests/TESTonce
106355
@@ -21,7 +21,7 @@ if ($^O eq 'MSWin32') {
106355
 else {
106355
     # we used to do this as a nice pipeline, but the problem is that $r fails to
106355
     # to be set properly if the tcpdump core dumps.
106355
-    $r = system "../tcpdump 2>/dev/null -n -t -r $input $options >NEW/$output";
106355
+    $r = system "../tcpdump 2>/dev/null -nn -t -r $input $options >NEW/$output";
106355
     if($r != 0) {
106355
         # this means tcpdump failed.
106355
         open(OUTPUT, ">>"."NEW/$output") || die "fail to open $output\n";
106355
-- 
106355
2.13.5
106355