Compare commits

...

6 Commits

Author SHA1 Message Date
a275202e0b reset
Some checks failed
continuous-integration/drone/pr Build is failing
2023-11-20 22:47:02 +01:00
0142814d34 os independent
Some checks failed
continuous-integration/drone/pr Build is failing
2023-11-20 22:41:53 +01:00
5aad497ed0 fix build error
Some checks failed
continuous-integration/drone/pr Build is failing
2023-11-14 15:29:53 +01:00
ab3518ad98 app_deploy.bats
Some checks failed
continuous-integration/drone/pr Build is failing
2023-11-14 12:03:15 +01:00
f57b45888b test/integration local server
Some checks failed
continuous-integration/drone/pr Build is failing
2023-11-13 15:37:52 +01:00
8065f29f68 fix app_cmd.bats 2023-11-13 10:35:19 +01:00
2 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
_common_setup() { _common_setup() {
load '/usr/lib/bats/bats-support/load' bats_load_library bats-support
load '/usr/lib/bats/bats-assert/load' bats_load_library bats-assert
load '/usr/lib/bats/bats-file/load' bats_load_library bats-file
load "$PWD/tests/integration/helpers/app" load "$PWD/tests/integration/helpers/app"
load "$PWD/tests/integration/helpers/git" load "$PWD/tests/integration/helpers/git"

View File

@ -1,7 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
_add_server() { _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_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER" assert_exists "$ABRA_DIR/servers/$TEST_SERVER"
} }