-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codePriority: HighBroken behavior in specific environments like in parallel mode or only on some operating systemsBroken behavior in specific environments like in parallel mode or only on some operating systemsStatus: UnconfirmendNo reproducer was provided or the reproducer did not work for maintainers.No reproducer was provided or the reproducer did not work for maintainers.Type: Buggood first issue
Description
Describe the bug
bats-gather-tests has a hard coded reference to lib and does not use $BATS_LIB when sourcing common.bash and others.
$ bats .
/usr/libexec/bats-core/bats-gather-tests: line 10: /usr/lib/bats-core/common.bash: No such file or directory
To Reproduce
Steps to reproduce the behavior:
- Install bats-core to lib64
- run
bats .
in a directory containing multiple bats files
Expected behavior
bats should run all tests
Environment (please complete the following information):
- Bats version [e.g. 1.4.0 or commit hash if applicable]: master
- operating system (including version): [e.g. Linux (please name your distribution!), FreeBSD, MacOS]: CentOS 7.9
bash --version
: [e.g. 5.1] 4.2.46- Install method: [e.g. git submodule, distribution package manager, npm, homebrew, ...] bash install.sh /usr lib64
Cheers,
Peter
Metadata
Metadata
Assignees
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codePriority: HighBroken behavior in specific environments like in parallel mode or only on some operating systemsBroken behavior in specific environments like in parallel mode or only on some operating systemsStatus: UnconfirmendNo reproducer was provided or the reproducer did not work for maintainers.No reproducer was provided or the reproducer did not work for maintainers.Type: Buggood first issue