Open hexadite-maxk opened 8 years ago
The load
function is just a wrapper around source
. mylib.bash
is getting sourced, but your condition detecting it is wrong. The sourcing script is bats-exec-test
.
What is that you are trying to do? What platform and what bash version?
_Edit:_ Removed incomplete list of paths where bats-exec-test
could live. -- 2016-01-30 22:05 UTC
@hexadite-maxk Did you figure out the solution? Was my explanation sufficient?
I don't know if this is "by design", but this looks to me like a bug:
I expected load to source the bash file. But apparently in the way I'm detecting being sourced - it is not being sourced.
Please help me.