]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: update coresched tests
authorKarel Zak <kzak@redhat.com>
Wed, 2 Apr 2025 11:17:07 +0000 (13:17 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Apr 2025 11:17:07 +0000 (13:17 +0200)
References: fe62e0a1109e2a108d9a8868211875811b1935b3
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/schedutils/coresched-get-cookie-own-pid
tests/expected/schedutils/coresched-get-cookie-parent-pid
tests/ts/schedutils/coresched

index 84f182cbe13aa84d429059c611694cd9dcbd814f..df96f0095c924299edd9b0693a361077a2e382a5 100644 (file)
@@ -1 +1 @@
-cookie of pid OWN_PID is PARENT_COOKIE
+cookie of PID OWN_PID is PARENT_COOKIE
index e183e040221707390119cbd97273c0f76ca062b4..d5b0c3fadc80f534bb6b9eacb678eb8b955699ce 100644 (file)
@@ -1 +1 @@
-cookie of pid PARENT_PID is PARENT_COOKIE
+cookie of PID PARENT_PID is PARENT_COOKIE
index 2ab0803bde126d61e88251fc47aef5a09ff0f467..4d4c450bb2239a4a1728589b6e712fdfd55dc142 100755 (executable)
@@ -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