make test more flexible

This commit is contained in:
Michael Hobbs
2017-10-02 13:24:32 -07:00
parent 5e32f9a89d
commit fbf9077075

View File

@@ -23,7 +23,7 @@ teardown() {
}
@test "(client) no args should print help" {
run /bin/bash -c "./contrib/dokku_client.sh | head -1 | grep -E '^Usage: dokku \[.+\] COMMAND <app>.*'"
run /bin/bash -c "./contrib/dokku_client.sh | head -1 | grep -E 'Usage: dokku \[.+\] COMMAND <app>.*'"
echo "output: "$output
echo "status: "$status
assert_success