From 8caf83e3f6f1ad5a55831ea5bf196e277f10ac78 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 06 2021 06:16:36 +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% \}}"