Skip to content

tapError: incorrect number of tests: "not ok test count !== plan" #593

@alban

Description

@alban

Some tests fail with "tapError: incorrect number of tests":

validation/linux_readonly_paths.t .........................validation/linux_readonly_paths.t ..validation/linux_readonly_paths.t ................... 20/27
  not ok test count !== plan
    +++ found
    --- wanted
    -20
    +26
    results:
      ok: false
      count: 26
      pass: 26
      fail: 1
      bailout: false
      todo: 0
      skip: 6
      plan:
        start: 1
        end: 20
        skipAll: false
        skipReason: ''
        comment: ''
      failures:
        - tapError: incorrect number of tests

  Skipped: 6
     syscall action SCMP_ACT_ALLOW
     syscall action SCMP_ACT_ALLOW
     syscall action SCMP_ACT_ALLOW
     syscall action SCMP_ACT_ALLOW
     syscall action SCMP_ACT_ALLOW
     syscall action SCMP_ACT_ALLOW

Other tests failing similarly:

  • validation/linux_readonly_paths.t
  • validation/hostname.t
  • validation/default.t
  • validation/process_rlimits.t
  • validation/linux_masked_paths.t
    etc.

Tested with:

$ /home/alban/.nvm/versions/node/v9.7.1/bin/tap --version
11.1.1
$ sudo TAP="/home/alban/.nvm/versions/node/v9.7.1/bin/tap --color" make localvalidation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions