diff options
Diffstat (limited to 'testsuite/ps.test/ps_sched_batch.exp')
-rw-r--r-- | testsuite/ps.test/ps_sched_batch.exp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/ps.test/ps_sched_batch.exp b/testsuite/ps.test/ps_sched_batch.exp new file mode 100644 index 0000000..e0c31ff --- /dev/null +++ b/testsuite/ps.test/ps_sched_batch.exp @@ -0,0 +1,12 @@ +# +# check the ps SCHED_BATCH scheduler policy output +# +set ps "${topdir}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" "\\s+test-schedbatch\\s+B\\s+18" +untested "$test" |