tests: Fail on script errors

Fixes #727
This commit is contained in:
Lars Karlitski 2019-06-02 15:20:42 +02:00 committed by Alexander Todorov
parent b50f1967c6
commit ce3a277100
13 changed files with 26 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Note: execute this file from the project root directory
set -e
. /usr/share/beakerlib/beakerlib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
. $(dirname $0)/lib/lib.sh

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
. $(dirname $0)/lib/lib.sh

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
. $(dirname $0)/lib/lib.sh

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
. $(dirname $0)/lib/lib.sh

View File

@ -9,6 +9,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -6,6 +6,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
. $(dirname $0)/lib/lib.sh

View File

@ -9,6 +9,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
. $(dirname $0)/lib/lib.sh

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Note: execute this file from the project root directory
set -e
. /usr/share/beakerlib/beakerlib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -7,6 +7,8 @@
#
#####
set -e
. /usr/share/beakerlib/beakerlib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Note: execute this file from the project root directory
set -eu
# setup
rm -rf /var/tmp/beakerlib-*/