aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2024-01-24 14:41:17 -0700
committerJakub Kicinski <[email protected]>2024-01-25 17:14:11 -0800
commit70863c902d76f8837652539698bc261c763a2869 (patch)
tree53daf886e45951e15343ccb0bb00d936f1a69ca2
parent79bf0d4a07d4af8fd646d07b70b11abd47c41083 (diff)
selftest: Show expected and actual return codes for test failures in fcnal-test
Capture expected and actual return codes for a test that fails in the fcnal-test suite. Signed-off-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rwxr-xr-xtools/testing/selftests/net/fcnal-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
index f590b0fb740e..d7cfb7c2b427 100755
--- a/tools/testing/selftests/net/fcnal-test.sh
+++ b/tools/testing/selftests/net/fcnal-test.sh
@@ -109,6 +109,7 @@ log_test()
else
nfail=$((nfail+1))
printf "TEST: %-70s [FAIL]\n" "${msg}"
+ echo " expected rc $expected; actual rc $rc"
if [ "${PAUSE_ON_FAIL}" = "yes" ]; then
echo
echo "hit enter to continue, 'q' to quit"