From: dmarc-noreply@freelists.org Date: Wed, 6 May 2015 22:17:22 +0000 (-0700) Subject: tests: do not mark ps_sched_batch.exp as untested X-Git-Tag: v3.3.11~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e981f2bbd2822a42a139f42b1dc6735faa265df1;p=procps-ng 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 Signed-off-by: Craig Small --- diff --git a/testsuite/ps.test/ps_sched_batch.exp b/testsuite/ps.test/ps_sched_batch.exp index e0c31ffd..1791064d 100644 --- a/testsuite/ps.test/ps_sched_batch.exp +++ b/testsuite/ps.test/ps_sched_batch.exp @@ -9,4 +9,3 @@ 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"