]> www.infradead.org Git - users/hch/misc.git/commitdiff
selftests: rtnetlink: correct error message in rtnetlink.sh fou test
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sun, 21 Sep 2025 19:21:08 +0000 (12:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Sep 2025 23:55:05 +0000 (16:55 -0700)
The rtnetlink FOU selftest prints an incorrect string:
"FAIL: fou"s. Change it to the intended "FAIL: fou" by
removing a stray character in the end_test string of the test.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250921192111.1567498-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/rtnetlink.sh

index 9da47a845be6380a211943cf436bb9447aa61609..dbf77513f6179b06733c1c1faf19290cfc149136 100755 (executable)
@@ -526,7 +526,7 @@ kci_test_encap_fou()
        run_cmd_fail ip -netns "$testns" fou del port 9999
        run_cmd ip -netns "$testns" fou del port 7777
        if [ $ret -ne 0 ]; then
-               end_test "FAIL: fou"s
+               end_test "FAIL: fou"
                return 1
        fi