From 43dbfee32a0758c84b54aff41d1f91b2c974117f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 18 Jul 2017 21:25:03 +0200 Subject: [PATCH] tests: aus.sh better defaults --- test/lib/aux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 93345bf12..7ab3885ad 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -1563,7 +1563,7 @@ check_lvmpolld_init_rq_count() { wait_pvmove_lv_ready() { # given sleep .1 this is about 60 secs of waiting - local retries=${2:-300} + local retries=${2-300} if [ -e LOCAL_LVMPOLLD ]; then local lvid="" @@ -1597,7 +1597,7 @@ wait_pvmove_lv_ready() { hold_device_open() { local vgname=$1 local lvname=$2 - local sec=${3:-20} # default 20sec + local sec=${3-20} # default 20sec sleep "$sec" < "$DM_DEV_DIR/$vgname/$lvname" >/dev/null 2>&1 & SLEEP_PID=$!