diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:34:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 20:34:44 +0000 |
commit | e3be059d4da38aa36f1aee1d56f8ceb943d92f1c (patch) | |
tree | 26edef31e4e503dd1c92a112de174f366dd61802 /testsuite/ps.test/ps_sched_batch.exp | |
parent | Initial commit. (diff) | |
download | procps-upstream.tar.xz procps-upstream.zip |
Adding upstream version 2:4.0.4.upstream/2%4.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | testsuite/ps.test/ps_sched_batch.exp | 11 |
1 files changed, 11 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..ff948db --- /dev/null +++ b/testsuite/ps.test/ps_sched_batch.exp @@ -0,0 +1,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?\$" |