From: Craig Small Date: Sun, 10 May 2015 05:04:19 +0000 (+1000) Subject: revert ps_sched checks for following commits X-Git-Tag: v3.3.11~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0256d1fd6518e35e667e5a60c3b20f2ce8eaa64;p=procps-ng revert ps_sched checks for following commits --- diff --git a/testsuite/ps.test/ps_sched_batch.exp b/testsuite/ps.test/ps_sched_batch.exp index c58b9a26..e0c31ffd 100644 --- a/testsuite/ps.test/ps_sched_batch.exp +++ b/testsuite/ps.test/ps_sched_batch.exp @@ -1,14 +1,12 @@ # # check the ps SCHED_BATCH scheduler policy output # -# This is too flaky on certain build systems to be -# reliable - CS -#set ps "${topdir}ps/pscommand" -#set schedbatch "${topdir}testsuite/test-schedbatch" -# -#spawn $schedbatch 18 -# +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" +spawn $ps --no-header -o comm,cls,nice -a +expect_pass "$test" "\\s+test-schedbatch\\s+B\\s+18" untested "$test"