]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephadm/test_repos: apt update 33132/head
authorSage Weil <sage@redhat.com>
Sat, 8 Feb 2020 04:16:29 +0000 (22:16 -0600)
committerSage Weil <sage@redhat.com>
Sat, 8 Feb 2020 04:16:29 +0000 (22:16 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephadm/test_repos.sh

index 5571f5a180013246918e8e410bc409f592374164..2d82552a356faf3f3fefda7ec9531465fdc8c8c5 100755 (executable)
@@ -8,7 +8,8 @@ CEPHADM=${CEPHADM_SRC_DIR}/cephadm
 # this is a pretty weak test, unfortunately, since the
 # package may also be in the base OS.
 function test_install_uninstall() {
-    ( sudo apt -y install cephadm && \
+    ( sudo apt update && \
+         sudo apt -y install cephadm && \
          sudo apt -y remove cephadm ) || \
        ( sudo yum -y install cephadm && \
              sudo yum -y remove cephadm ) || \