2011-09-25 14:45:43 +05:30
|
|
|
#
|
|
|
|
# check the ps SCHED_BATCH scheduler policy output
|
|
|
|
#
|
2022-08-29 14:43:10 +05:30
|
|
|
set ps "${topdir}src/ps/pscommand"
|
2015-05-10 10:34:19 +05:30
|
|
|
set schedbatch "${topdir}testsuite/test-schedbatch"
|
|
|
|
|
|
|
|
spawn $schedbatch 18
|
|
|
|
|
2011-09-25 14:45:43 +05:30
|
|
|
set test "ps SCHED_BATCH scheduler"
|
2015-05-10 10:34:19 +05:30
|
|
|
spawn $ps --no-header -o comm,cls,nice -a
|
2015-05-07 03:47:23 +05:30
|
|
|
expect_pass "$test" "(?n)^test-schedbatch\\s+B\\s+18\\r?\$"
|