瀏覽代碼

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

Marcela Bonell 10 年之前
父節點
當前提交
e9f5950c44
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'
-