blob: d40062ec1244a63a9b5c2609d17ec04611ca95e0 (
plain) (
tree)
|
|
#!/bin/sh
header "bosun"
want <<EOF
app-foo
service-bar
EOF
assert success "bosun" "$BOSUN_CMD"
assert_output_matches "lists active roles"
want <<EOF
bosun: no such command 'missing-command'
usage: bosun add role ...
bosun flush
bosun [list [type ...]]
bosun rebuild [role ...]
bosun remove [role ...]
EOF
assert failure "missing-command" "$BOSUN_CMD" missing-command
assert_output_matches "prints error message and usage"
end
|