From 630ac9e49b5d4425831491b173c9612911179b42 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Wed, 8 Aug 2018 14:42:46 +0200 Subject: [PATCH] Fix: Skip tests correctly when ffmpeg is missing --- tests/admin.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/admin.test b/tests/admin.test index 6bfd06ac..0fbf74cf 100755 --- a/tests/admin.test +++ b/tests/admin.test @@ -17,7 +17,8 @@ L_PASS="bar" L_AUTH="$L_USER:$L_PASS" command -v ffmpeg >/dev/null 2>&1 || { - echo >&2 "# ffmpeg required for tests not found. Aborting."; exit 1; + echo "1..0 # skip because ffmpeg is required but not present." + exit 0 } echo "# Starting Icecast"