test/integration local server
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
p4u1 2023-11-13 15:37:52 +01:00
parent 8065f29f68
commit f57b45888b
1 changed files with 5 additions and 1 deletions

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"
}