From 2c771bae7e3615cdbb3459b0b3d5ab748e936475 Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 20 2020 13:31:34 +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 location_in_specfile: 28 present_in_specfile: true --- 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% \}}"