fix: ensure we redirect stderr to stdout for test

This commit is contained in:
Jose Diaz-Gonzalez committed 2017-03-15 02:55:09 -06:00
1 parent 0d1c8deb57
commit 91aa5255ec
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ build_nginx_config() {
echo "output: "$output echo "output: "$output
echo "status: "$status echo "status: "$status
assert_failure assert_failure
run /bin/bash -c "dokku fakecommand | grep -q 'is not a dokku command'" run /bin/bash -c "dokku fakecommand 2>&1 | grep -q 'is not a dokku command'"
echo "output: "$output echo "output: "$output
echo "status: "$status echo "status: "$status
assert_success assert_success