]> granicus.if.org Git - procps-ng/commitdiff
tests: do not mark ps_sched_batch.exp as untested
authordmarc-noreply@freelists.org <dmarc-noreply@freelists.org>
Wed, 6 May 2015 22:17:22 +0000 (15:17 -0700)
committerCraig Small <csmall@enc.com.au>
Sun, 10 May 2015 05:04:46 +0000 (15:04 +1000)
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>
testsuite/ps.test/ps_sched_batch.exp

index e0c31ffd213a40b5241f110c52c323e19676c553..1791064df304e5a0617ef3f851ebccc2b7793522 100644 (file)
@@ -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"