Skip to content

Commit c0f453f

Browse files
committed
no-mistakes: apply CI fixes
1 parent b26679f commit c0f453f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/fm-spawn-backlog.test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,14 @@ test_rows_in_manual_backlog_allow_ship_and_scout() {
140140
}
141141

142142
test_missing_tasks_axi_falls_back_to_manual_read() {
143-
local record id out status node_dir
143+
local record id out status node_path
144144
id=backlog-no-axi-z3b
145145
record=$(make_spawn_case no-tasks-axi "$id")
146146
read_spawn_case "$record"
147147
rm -f "$HOME_DIR/config/backlog-backend"
148-
node_dir=$(dirname "$(command -v node)")
149-
export FM_TEST_PATH_OVERRIDE="$FAKEBIN_DIR:$node_dir:/usr/bin:/bin:/usr/sbin:/sbin"
148+
node_path=$(command -v node)
149+
ln -s "$node_path" "$FAKEBIN_DIR/node"
150+
export FM_TEST_PATH_OVERRIDE="$FAKEBIN_DIR:/usr/bin:/bin:/usr/sbin:/sbin"
150151
if PATH="$FM_TEST_PATH_OVERRIDE" command -v tasks-axi >/dev/null 2>&1; then
151152
fail "tasks-axi absence fixture still resolves tasks-axi"
152153
fi

0 commit comments

Comments
 (0)