Fix #1564: Use Procfile for process types in Dockerfile apps
* Document new Procfile feature * Add and update tests * Fix a typo in generate_scale_file (ref #1923)
This commit is contained in:
committed by
Jose Diaz-Gonzalez
parent
8e297cd38e
commit
6a01abb905
@@ -57,6 +57,17 @@ assert_output() {
|
||||
assert_equal "$expected" "$output"
|
||||
}
|
||||
|
||||
# ShellCheck doesn't know about $output from Bats
|
||||
# shellcheck disable=SC2154
|
||||
assert_output_contains() {
|
||||
local input="$output"; local expected="$1"; local count="${2:-1}"; local found=0
|
||||
until [ "${input/$expected/}" = "$input" ]; do
|
||||
input="${input/$expected/}"
|
||||
let found+=1
|
||||
done
|
||||
assert_equal $count $found
|
||||
}
|
||||
|
||||
# ShellCheck doesn't know about $lines from Bats
|
||||
# shellcheck disable=SC2154
|
||||
assert_line() {
|
||||
|
||||
Reference in New Issue
Block a user