ps_sched_batch.exp 299 Bytes
Newer Older
1 2 3
#
# check the ps SCHED_BATCH scheduler policy output
#
4 5 6 7 8
set ps "${topdir}ps/pscommand"
set schedbatch "${topdir}testsuite/test-schedbatch"

spawn $schedbatch 18

9
set test "ps SCHED_BATCH scheduler"
10
spawn $ps --no-header -o comm,cls,nice -a
11
expect_pass "$test" "(?n)^test-schedbatch\\s+B\\s+18\\r?\$"