]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: sync must also be recursive
authorLoic Dachary <ldachary@redhat.com>
Fri, 6 Mar 2015 14:29:22 +0000 (15:29 +0100)
committerLoic Dachary <ldachary@redhat.com>
Fri, 6 Mar 2015 14:29:22 +0000 (15:29 +0100)
In case a submodule URL to a nested submodule changed

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/docker-test-helper.sh

index 2726b8796d7902b4e50a9d99f1aa761a6d984f87..e7336c083581514aaa8d9204b5700431ca107b85 100755 (executable)
@@ -95,7 +95,7 @@ function setup_downstream() {
         fi
         cd $downstream
         git reset --hard $ref || return 1
-        git submodule sync || return 1
+        git submodule sync --recursive || return 1
         git submodule update --init --recursive || return 1
     )
 }