mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Correct exit status of fish_run_tests.sh
fish_run_tests.sh was failing because its final command was a variable test which was usually false. Switch to an if statement so the result is true.
This commit is contained in:
parent
54a60d8dab
commit
180acbbb27
1 changed files with 6 additions and 1 deletions
|
@ -13,6 +13,11 @@ then
|
|||
fi
|
||||
|
||||
ninja && ninja fish_run_tests
|
||||
RES=$?
|
||||
|
||||
# Drop the user into a shell if FISH_RUN_SHELL_AFTER_TESTS is set.
|
||||
test -n "$FISH_RUN_SHELL_AFTER_TESTS" && exec bash -i
|
||||
if test -n "$FISH_RUN_SHELL_AFTER_TESTS"; then
|
||||
bash -i
|
||||
fi
|
||||
|
||||
exit $RES
|
||||
|
|
Loading…
Reference in a new issue