From: Karel Zak Date: Wed, 2 Apr 2025 11:17:07 +0000 (+0200) Subject: tests: update coresched tests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6cc43018dd8b6c1506c1b631c25392695c66ca28;p=thirdparty%2Futil-linux.git tests: update coresched tests References: fe62e0a1109e2a108d9a8868211875811b1935b3 Signed-off-by: Karel Zak --- diff --git a/tests/expected/schedutils/coresched-get-cookie-own-pid b/tests/expected/schedutils/coresched-get-cookie-own-pid index 84f182cbe..df96f0095 100644 --- a/tests/expected/schedutils/coresched-get-cookie-own-pid +++ b/tests/expected/schedutils/coresched-get-cookie-own-pid @@ -1 +1 @@ -cookie of pid OWN_PID is PARENT_COOKIE +cookie of PID OWN_PID is PARENT_COOKIE diff --git a/tests/expected/schedutils/coresched-get-cookie-parent-pid b/tests/expected/schedutils/coresched-get-cookie-parent-pid index e183e0402..d5b0c3fad 100644 --- a/tests/expected/schedutils/coresched-get-cookie-parent-pid +++ b/tests/expected/schedutils/coresched-get-cookie-parent-pid @@ -1 +1 @@ -cookie of pid PARENT_PID is PARENT_COOKIE +cookie of PID PARENT_PID is PARENT_COOKIE diff --git a/tests/ts/schedutils/coresched b/tests/ts/schedutils/coresched index 2ab0803bd..4d4c450bb 100755 --- a/tests/ts/schedutils/coresched +++ b/tests/ts/schedutils/coresched @@ -51,7 +51,7 @@ ts_finalize_subtest ts_init_subtest "get-cookie-own-pid" $TS_CMD_CORESCHED get 2>> "$TS_ERRLOG" \ - | sed -e "s/pid [0-9]\+/pid OWN_PID/g" \ + | sed -e "s/PID [0-9]\+/PID OWN_PID/g" \ -e "s/$CORESCHED_PARENT_COOKIE/PARENT_COOKIE/g" >> "$TS_OUTPUT" ts_finalize_subtest