summaryrefslogtreecommitdiffstats
path: root/tests/ts/schedutils/chrt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
commit8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch)
tree1fdda006866bca20d41cb206767ea5241e36852f /tests/ts/schedutils/chrt
parentAdding debian version 2.39.3-11. (diff)
downloadutil-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz
util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ts/schedutils/chrt')
-rwxr-xr-xtests/ts/schedutils/chrt11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/ts/schedutils/chrt b/tests/ts/schedutils/chrt
index aca735f..fd5f7af 100755
--- a/tests/ts/schedutils/chrt
+++ b/tests/ts/schedutils/chrt
@@ -21,9 +21,8 @@ ts_init "$*"
ts_check_test_command "$TS_CMD_CHRT"
ts_skip_nonroot
-
-# TODO: drone.io does not like FIFO and RR (container restriction?)
-TS_KNOWN_FAIL="yes"
+ts_skip_docker
+ts_skip_qemu_user
function do_chrt {
$TS_CMD_CHRT $* $TS_CMD_CHRT --pid 0 | sed 's/.* policy: //; s/.* priority: //' >> $TS_OUTPUT 2>> $TS_ERRLOG
@@ -93,9 +92,9 @@ fi
ts_init_subtest "deadline"
skip_policy SCHED_DEADLINE
if [ $? == 0 ]; then
- do_chrt --deadline --sched-period 13000 0
- do_chrt --deadline --sched-period 13000 --sched-deadline 12000 0
- do_chrt --deadline --sched-period 13000 --sched-deadline 12000 --sched-runtime 10000 0
+ do_chrt --deadline --sched-period 130000 0
+ do_chrt --deadline --sched-period 130000 --sched-deadline 120000 0
+ do_chrt --deadline --sched-period 130000 --sched-deadline 120000 --sched-runtime 100000 0
cleanup_output
ts_finalize_subtest
fi