Skip to content

bats-preprocess: command not found in bats 1.11.0-rc1 #858

@gioele

Description

@gioele

Describe the bug

ruby-build's tests fail when run with bats 1.11.0-rc1

 24s autopkgtest [19:14:20]: test command1: [-----------------------
 24s /usr/lib/bats-core/preprocessing.bash: line 12: bats-preprocess: command not found
 24s 1..1
 24s not ok 1 bats-gather-tests
 24s # (in test file test/build.bats, line 26)
 24s #   `tarball "$@"' failed with status 127
 25s autopkgtest [19:14:21]: test command1: -----------------------]

https://ci.debian.net/packages/r/ruby-build/unstable/amd64/42695794/

To Reproduce

Steps to reproduce the behavior:

  1. Check out https://salsa.debian.org/ruby-team/ruby-build/
  2. Run bats tests/

Expected behavior

The tests should run without any internal bats error.

Environment (please complete the following information):

  • Bats version: 1.11.0-rc1
  • operating system (including version): Debian unstable+experimental
  • bash --version: 5.2.21
  • Install method: Debian package

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Bash CodeEverything regarding the bash codePriority: CriticalBroken behavior in nearly all environments, e.g. wrong test results, internal bats errorStatus: ConfirmedThe reproducer worked as describedType: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions