-
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: MediumWrong or misleading documentation, broken behavior with workaroundWrong or misleading documentation, broken behavior with workaroundStatus: ConfirmedThe reproducer worked as describedThe reproducer worked as describedType: Bug
Description
Hi ,
I am trying to use the submodules of bats-core repo and when trying to take the junit report, it is getting failed with the below error.
./../../../submodules/bats/bin/bats -F junit ./ > <my_dir>
<mydir>/submodules/bats/libexec/bats-core/bats-format-junit: line 86: name: unbound variable
<mydir>/submodules/bats/libexec/bats-core/bats-format-junit: line 86: name: unbound variable
below is the bats-core submodule being used,
git submodule
dd2d573 ../../../submodules/bats (v1.7.0-114-gdd2d573)
As a workaround, tried changing the code from set -euo pipefail to set -eo pipefail in bats/libexec/bats-core/bats-format-junit . Not sure if that is right, please guide me here
Metadata
Metadata
Assignees
Labels
Component: Bash CodeEverything regarding the bash codeEverything regarding the bash codePriority: MediumWrong or misleading documentation, broken behavior with workaroundWrong or misleading documentation, broken behavior with workaroundStatus: ConfirmedThe reproducer worked as describedThe reproducer worked as describedType: Bug