local integration tests #389

Closed
p4u1 wants to merge 6 commits from p4u1/abra:integration-tests into main
1 changed files with 5 additions and 1 deletions
Showing only changes of commit f57b45888b - Show all commits

View File

@ -1,7 +1,11 @@
#!/usr/bin/env bash
_add_server() {
run $ABRA server add "$TEST_SERVER"
if [[ "$TEST_SERVER" == "default" ]]; then
run $ABRA server add -l
else
run $ABRA server add "$TEST_SERVER"
fi
assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER"
}