diff options
author | 2022-02-10 03:21:26 -0800 | |
---|---|---|
committer | 2022-02-10 03:21:26 -0800 | |
commit | 078a7c4c550887d71f3e432c9f5c4b0ad54b0c3b (patch) | |
tree | 098a83c4f49b969ec36e642477608eece29c72da | |
parent | cc1e19ade0aaea76e17b22c35f1b4f503cea5eec (diff) | |
download | bun-078a7c4c550887d71f3e432c9f5c4b0ad54b0c3b.tar.gz bun-078a7c4c550887d71f3e432c9f5c4b0ad54b0c3b.tar.zst bun-078a7c4c550887d71f3e432c9f5c4b0ad54b0c3b.zip |
Cleanup test output
Diffstat (limited to '')
-rw-r--r-- | integration/apps/bun-dev.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/integration/apps/bun-dev.sh b/integration/apps/bun-dev.sh index 806b38aac..f2d76d028 100644 --- a/integration/apps/bun-dev.sh +++ b/integration/apps/bun-dev.sh @@ -21,33 +21,33 @@ cd $dir $BUN_BIN --port 8087 & sleep 0.005 -if [ "$(curl --fail http://localhost:8087/)" != "$index_content" ]; then - echo "ERR: Expected '$index_content', got '$(curl --fail http://localhost:8087/)'" +if [ "$(curl --fail -sS http://localhost:8087/)" != "$index_content" ]; then + echo "ERR: Expected '$index_content', got '$(curl --fail -sS http://localhost:8087/)'" exit 1 fi -if [ "$(curl --fail http://localhost:8087/index)" != "$index_content" ]; then - echo "ERR: Expected '$index_content', got '$(curl --fail http://localhost:8087/index)'" +if [ "$(curl --fail -sS http://localhost:8087/index)" != "$index_content" ]; then + echo "ERR: Expected '$index_content', got '$(curl --fail -sS http://localhost:8087/index)'" exit 1 fi -if [ "$(curl --fail http://localhost:8087/index.html)" != "$index_content" ]; then - echo "ERR: Expected '$index_content', got '$(curl --fail http://localhost:8087/index.html)'" +if [ "$(curl --fail -sS http://localhost:8087/index.html)" != "$index_content" ]; then + echo "ERR: Expected '$index_content', got '$(curl --fail -sS http://localhost:8087/index.html)'" exit 1 fi -if [ "$(curl --fail http://localhost:8087/foo/foo)" != "$index_content" ]; then - echo "ERR: Expected '$index_content', got '$(curl --fail http://localhost:8087/index.html)'" +if [ "$(curl --fail -sS http://localhost:8087/foo/foo)" != "$index_content" ]; then + echo "ERR: Expected '$index_content', got '$(curl --fail -sS http://localhost:8087/index.html)'" exit 1 fi -if [ "$(curl --fail http://localhost:8087/bacon)" != "$bacon_content" ]; then - echo "ERR: Expected '$index_content', got '$(curl --fail http://localhost:8087/bacon)'" +if [ "$(curl --fail -sS http://localhost:8087/bacon)" != "$bacon_content" ]; then + echo "ERR: Expected '$index_content', got '$(curl --fail -sS http://localhost:8087/bacon)'" exit 1 fi -if [ "$(curl --fail http://localhost:8087/bacon.html)" != "$bacon_content" ]; then - echo "ERR: Expected '$index_content', got '$(curl --fail http://localhost:8087/bacon.html)'" +if [ "$(curl --fail -sS http://localhost:8087/bacon.html)" != "$bacon_content" ]; then + echo "ERR: Expected '$index_content', got '$(curl --fail -sS http://localhost:8087/bacon.html)'" exit 1 fi |