Logo
Explore Help
Register Sign In
Mirrors/dokku
1
0
Fork 0
You've already forked dokku
mirror of https://github.com/dokku/dokku.git synced 2026-09-02 20:22:30 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
db239debf1bc8564beba1c32dffa1c61bc5fc1d8
dokku/tests/apps/python-flask/check_deploy

17 lines
287 B
Plaintext
Raw Normal View History

use consistent bash shebang. closes #959
2015-02-08 22:34:35 -08:00
#!/usr/bin/env bash
tests: run mvdan/shfmt on test runs While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™. The command used to reprocess everything is: ```shell shfmt -l -bn -ci -i 2 -w . ```
2019-01-07 01:04:17 -05:00
set -e
[config] test python buildpack too
2017-04-30 22:29:58 -04:00
base_url=$1
tests: run mvdan/shfmt on test runs While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™. The command used to reprocess everything is: ```shell shfmt -l -bn -ci -i 2 -w . ```
2019-01-07 01:04:17 -05:00
test_url() {
[config] test python buildpack too
2017-04-30 22:29:58 -04:00
path="$1"
expected_output="$2"
url="${base_url}${path}"
output="$(curl -s -S "$url")"
echo "$url -> $output"
test "$output" == "$expected_output"
}
base_url="$1"
test_url / "python/flask"
test_url /HELLO "Hello
'world' "
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 93ms Template: 30ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API