summaryrefslogtreecommitdiffstats
path: root/tests/ts/schedutils/chrt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:30 +0000
commitc61e14d3a8412cd50d98aab604e607692c844c8a (patch)
tree4925aca0e6b64c8664ea2f3fdfa99a52dc93d5da /tests/ts/schedutils/chrt
parentAdding upstream version 2.39.3. (diff)
downloadutil-linux-c61e14d3a8412cd50d98aab604e607692c844c8a.tar.xz
util-linux-c61e14d3a8412cd50d98aab604e607692c844c8a.zip
Adding upstream version 2.40.upstream/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