tests: do not mark ps_sched_batch.exp as untested
Right now the test case is both testing it (expect_pass "$test") and marking it as untested (untested "$test"), it should do either one or the other, so stop marking it as untested. Before this change, these lines appear in testsuite/ps.log or the output of `make check RUNTESTFLAGS="--all"`: PASS: ps SCHED_BATCH scheduler UNTESTED: ps SCHED_BATCH scheduler Note that the second line is confusing, it's implying that the test is untested, right after having tested it and indicated it passes. After this change, only the first line will appear. Tested that both `make check` and `make distcheck` continue working with this commit. Signed-off-by: Filipe Brandenburger <filbranden@google.com> Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
parent
e0256d1fd6
commit
e981f2bbd2
@ -9,4 +9,3 @@ spawn $schedbatch 18
|
|||||||
set test "ps SCHED_BATCH scheduler"
|
set test "ps SCHED_BATCH scheduler"
|
||||||
spawn $ps --no-header -o comm,cls,nice -a
|
spawn $ps --no-header -o comm,cls,nice -a
|
||||||
expect_pass "$test" "\\s+test-schedbatch\\s+B\\s+18"
|
expect_pass "$test" "\\s+test-schedbatch\\s+B\\s+18"
|
||||||
untested "$test"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user