Non-unified format is useful only if the expected output is printed as
well, which is not the case.

Signed-off-by: Phil Sutter <[email protected]>
---
 tests/shell/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh
index 81ee0cdd62f4a..632cccee0af29 100755
--- a/tests/shell/run-tests.sh
+++ b/tests/shell/run-tests.sh
@@ -106,7 +106,7 @@ do
                dumpfile="${dumppath}/$(basename ${testfile}).nft"
                rc_spec=0
                if [ "$rc_got" -eq 0 ] && [ -f ${dumpfile} ]; then
-                       test_output=$(${DIFF} ${dumpfile} <($NFT list ruleset) 
2>&1)
+                       test_output=$(${DIFF} -u ${dumpfile} <($NFT list 
ruleset) 2>&1)
                        rc_spec=$?
                fi
 
-- 
2.21.0

Reply via email to