From: Shashank Balaji Date: Fri, 16 May 2025 09:35:15 +0000 (+0900) Subject: tests: add chrt SCHED_EXT test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7edb3cf601ba98113b54a7498b8d103503aa454;p=thirdparty%2Futil-linux.git tests: add chrt SCHED_EXT test Signed-off-by: Shashank Balaji --- diff --git a/tests/expected/schedutils/chrt-ext b/tests/expected/schedutils/chrt-ext new file mode 100644 index 000000000..9bb972b75 --- /dev/null +++ b/tests/expected/schedutils/chrt-ext @@ -0,0 +1,4 @@ +SCHED_EXT +0 +SCHED_EXT +0 diff --git a/tests/ts/schedutils/chrt b/tests/ts/schedutils/chrt index 74186c053..823253893 100755 --- a/tests/ts/schedutils/chrt +++ b/tests/ts/schedutils/chrt @@ -137,6 +137,15 @@ if [ $? == 0 ]; then ts_finalize_subtest fi +ts_init_subtest "ext" +skip_policy SCHED_EXT +if [ $? == 0 ]; then + do_chrt --ext 0 + do_chrt -e 0 + cleanup_output + ts_finalize_subtest +fi + # failed -- let's report kernel limits # if [ $TS_NSUBFAILED -ne 0 ]; then