From 00e5d005304b5429a2e36334a64f5c84441d7d10 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Thu, 23 Jun 2016 09:46:45 +0100 Subject: [PATCH] Fix unbound variable when number of JOBS is omitted --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index 54c4d6fb4..014b79861 100755 --- a/test/run +++ b/test/run @@ -42,7 +42,7 @@ if [ -d "test/data" ]; then if [ -d "test/data-visual/styles" ]; then run_substep "Running visual tests..." - if [ -z "$JOBS" ]; then + if [ -z "${JOBS:-}" ]; then JOBS=1 fi if [[ -f ./test/visual/run ]]; then