]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: mon id is incorrectly skipped 2759/head
authorLoic Dachary <loic-201408@dachary.org>
Mon, 20 Oct 2014 18:20:35 +0000 (11:20 -0700)
committerLoic Dachary <loic-201408@dachary.org>
Mon, 20 Oct 2014 18:20:35 +0000 (11:20 -0700)
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 <loic-201408@dachary.org>
src/test/mon/mon-test-helpers.sh

index 1766193a588742d02a1427a03dcf89ade39b0c1a..b37780e42d1b15b56f9f08b2d30f2a7669dc8c39 100644 (file)
@@ -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