-
Notifications
You must be signed in to change notification settings - Fork 440
Closed
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codeComponent: PackagingRegarding packaging for NPM, RPM, etc.Regarding packaging for NPM, RPM, etc.Priority: MediumWrong or misleading documentation, broken behavior with workaroundWrong or misleading documentation, broken behavior with workaroundSize: SmallChanges to a few localized lines of code (e.g. same function)Changes to a few localized lines of code (e.g. same function)Type: Enhancement
Description
Is your feature request related to a problem? Please describe.
I'm wanting to run some Bats helper libraries in my unit tests, but I have to install Bats on every run as they're run isolated in Docker containers.
I don't know how to get BATS_LIB_PATH
exposed to Bats though. The only way I've found to add environment variables available to all programs globally is to place them in /etc/profile.d/
, but this is only read on the login shell, and not when a new Bash shell process is created.
Describe the solution you'd like
If Bats had a default value for BATS_LIB_PATH
already defined, including /usr/lib/bats
at the minimum, this would solve my issue.
Describe alternatives you've considered
None considered.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codeComponent: PackagingRegarding packaging for NPM, RPM, etc.Regarding packaging for NPM, RPM, etc.Priority: MediumWrong or misleading documentation, broken behavior with workaroundWrong or misleading documentation, broken behavior with workaroundSize: SmallChanges to a few localized lines of code (e.g. same function)Changes to a few localized lines of code (e.g. same function)Type: Enhancement