Pārlūkot izejas kodu

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

Marcela Bonell 10 gadi atpakaļ
vecāks
revīzija
e9f5950c44
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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'
-