File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ do-add() {
84
84
if [[ ! -d " $subDep " && -n " ${BPM_MODE_TEST+x} " ]]; then
85
85
# During some tests, plumbing-* or Git commands may be stubbed,
86
86
# so the package may not actually be cloned
87
- return
87
+ continue
88
88
fi
89
89
90
90
local oldWd=" $PWD "
Original file line number Diff line number Diff line change @@ -35,15 +35,17 @@ load './util/init.sh'
35
35
36
36
eval " $( do-init bash) "
37
37
38
- command -v _bpm
38
+ assert command -v _bpm
39
39
}
40
40
41
41
@test " is fish compatible" {
42
42
if ! command -v fish & > /dev/null; then
43
43
skip " Command 'fish' not in PATH"
44
44
fi
45
45
46
- HOME= XDG_DATA_HOME= XDG_CONFIG_HOME= run fish -Pc ' . (bpm init fish | psub)'
46
+ HOME= XDG_DATA_HOME= XDG_STATE_HOME= XDG_CONFIG_HOME= run fish -Pc ' . (bpm init fish | psub)'
47
+
48
+ assert_success
47
49
}
48
50
49
51
@test " is sh-compatible" {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export LANG="C"
16
16
export LANGUAGE=" C"
17
17
export LC_ALL=" C"
18
18
export XDG_DATA_HOME=
19
- export PATH=" $BPM_ROOT /pkg/bin:$PATH "
19
+ export PATH=" $BPM_ROOT /pkg/bin:$PATH " # TODO
20
20
21
21
export PROGRAM_LIB_DIR=" $BATS_TEST_DIRNAME /../pkg/lib"
22
22
export BPM_ROOT=" $BATS_TEST_DIRNAME /.."
You can’t perform that action at this time.
0 commit comments