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

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