This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/test.bats

17 lines
347 B
Plaintext
Raw Normal View History

2020-10-23 03:03:01 +00:00
#!/usr/bin/env bats
@test "docker is available" {
command -v docker
}
@test "abra is executable" {
2020-10-23 03:04:35 +00:00
./abra --help
2020-10-23 03:03:01 +00:00
}
2020-10-26 09:58:15 +00:00
@test "abra server add/rm works" {
./abra server add swarm.example.com
docker context ls | grep swarm.example.com
./abra server rm swarm.example.com
./abra server add swarm-test.autonomic.zone calix 222
}