summaryrefslogtreecommitdiffstats
path: root/testsuite/ps.test/ps_sched_batch.exp
blob: ff948db2b10652c661acd3ecb431e615f5234c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# check the ps SCHED_BATCH scheduler policy output
#
set ps "${topdir}src/ps/pscommand"
set schedbatch "${topdir}testsuite/test-schedbatch"

spawn $schedbatch 18

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