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

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