From 438a9bdee01c6a3e33dfa9234dfed8294dbbb64b Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 23:36:15 +0000 Subject: Apply patch 0028-tests-0034get_element_0-do-not-discard-stderr.patch patch_name: 0028-tests-0034get_element_0-do-not-discard-stderr.patch present_in_specfile: true location_in_specfile: 28 --- diff --git a/tests/shell/testcases/sets/0034get_element_0 b/tests/shell/testcases/sets/0034get_element_0 index c7e7298..e23dbda 100755 --- a/tests/shell/testcases/sets/0034get_element_0 +++ b/tests/shell/testcases/sets/0034get_element_0 @@ -3,7 +3,7 @@ RC=0 check() { # (elems, expected) - out=$($NFT get element ip t s "{ $1 }" 2>/dev/null) + out=$($NFT get element ip t s "{ $1 }") out=$(grep "elements =" <<< "$out") out="${out#* \{ }" out="${out% \}}"