From 349eb518ba11bf02999d06b8d83d726c55cb1995 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Mon, 20 Oct 2014 11:20:35 -0700 Subject: [PATCH] tests: mon id is incorrectly skipped The argument is shifted and $1 should be used to get the mon id instead of $2. http://tracker.ceph.com/issues/9836 Fixes: #9836 Signed-off-by: Loic Dachary --- src/test/mon/mon-test-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/mon/mon-test-helpers.sh b/src/test/mon/mon-test-helpers.sh index 1766193a58874..b37780e42d1b1 100644 --- a/src/test/mon/mon-test-helpers.sh +++ b/src/test/mon/mon-test-helpers.sh @@ -70,7 +70,7 @@ function kill_daemons() { function call_TEST_functions() { local dir=$1 shift - local id=$2 + local id=$1 shift setup $dir || return 1 -- 2.39.5