Jelajahi Sumber

Closes #594: Add set -e in the run script

Marcela Bonell 10 tahun lalu
induk
melakukan
e9f5950c44
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      test/tests/golang-hello-world/run.sh

+ 1 - 1
test/tests/golang-hello-world/run.sh

@@ -1,8 +1,8 @@
 #!/bin/bash
+set -e
 
 image="$1"
 dirTest="$(dirname "$(readlink -f "$BASH_SOURCE")")"
 dirContainer='/usr/src/hello-world'
 
 docker run --rm -v "$dirTest":"$dirContainer":ro -w "$dirContainer" "$image" sh -c 'go build -o /hello-world hello-world.go && /hello-world'
-