diff options
Diffstat (limited to 'testsuite/ps.test')
-rw-r--r-- | testsuite/ps.test/ps_output.exp | 2 | ||||
-rw-r--r-- | testsuite/ps.test/ps_sched_batch.exp | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/ps.test/ps_output.exp b/testsuite/ps.test/ps_output.exp index 3a6f3d8..1b2c097 100644 --- a/testsuite/ps.test/ps_output.exp +++ b/testsuite/ps.test/ps_output.exp @@ -9,8 +9,6 @@ set uid [ exec id -u ] set not_uid [ expr { $uid + 1 } ] set gid [ exec id -g ] set not_gid [ expr { $gid + 1 } ] -set raw_tty [ exec tty ] -regexp "/dev/(.+)" $raw_tty > tty # All the fields # Cannot do args,cmd,comm diff --git a/testsuite/ps.test/ps_sched_batch.exp b/testsuite/ps.test/ps_sched_batch.exp index e0c31ff..c58b9a2 100644 --- a/testsuite/ps.test/ps_sched_batch.exp +++ b/testsuite/ps.test/ps_sched_batch.exp @@ -1,12 +1,14 @@ # # check the ps SCHED_BATCH scheduler policy output # -set ps "${topdir}ps/pscommand" -set schedbatch "${topdir}testsuite/test-schedbatch" - -spawn $schedbatch 18 - +# 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 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" |