Skip to content

Commit 2b29f3f

Browse files
committed
Abort on error for test scripts (test-common.sh set -eo pipefail).
Signed-off-by: Stefan Westerfeld <[email protected]>
1 parent 15e4e56 commit 2b29f3f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/hls-test.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ if [ "x$Q" == "x1" ] && [ -z "$V" ]; then
66
FFMPEG_Q="-v quiet"
77
fi
88

9-
set -e
10-
119
HLS_DIR=hls-test-dir.$$
1210
mkdir -p $HLS_DIR
1311

tests/raw-format-test.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
source test-common.sh
44

5-
set -e
6-
75
IN_WAV=test-raw-format.wav
86
OUT_WAV=test-raw-format-out.wav
97
OUT2_WAV=test-raw-format-out2.wav

tests/test-common.sh.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ AUDIOWMARK=@top_builddir@/src/audiowmark
44
TEST_MSG=f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0
55
TOP_BUILDDIR=@top_builddir@
66

7+
## abort on error
8+
9+
set -eo pipefail
10+
711
# common shell functions
812

913
die()

0 commit comments

Comments
 (0)