From: Phil Sutter Date: Wed, 3 Sep 2025 13:01:09 +0000 (+0200) Subject: tests: monitor: Label diffs to help users X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53d686888bc446cc949c2013504c9974e93c1e2d;p=thirdparty%2Fnftables.git tests: monitor: Label diffs to help users Clarify what was expected and what was actually received. Signed-off-by: Phil Sutter --- diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh index 67d3e618..03091d17 100755 --- a/tests/monitor/run-tests.sh +++ b/tests/monitor/run-tests.sh @@ -5,7 +5,7 @@ debug=false test_json=false mydiff() { - diff -w -I '^# ' "$@" + diff -w -I '^# ' --label "expected" --label "got" "$@" } err() {