]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/docker-test: remove lsb_release
authorKen Dreyer <kdreyer@redhat.com>
Thu, 12 Aug 2021 14:46:16 +0000 (10:46 -0400)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 31 Aug 2021 21:19:18 +0000 (17:19 -0400)
The lsb_release utility brings in a lot of other dependencies. Remove
it from the docker-test script.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit 24af043ee57419bd28d72ffc85cd1078df9af123)

src/test/docker-test-helper.sh

index ce7beb19f5ec96ce9df15eedbbd9318ab932ea3d..59c3b042f4f579b6fbb65fe25f4e1ea000a3bd87 100755 (executable)
@@ -184,14 +184,14 @@ commands such as make check are not disturbed while development
 continues. Here is a sample use case including an interactive session
 and running a unit test:
 
-   $ lsb_release -d
-   Description:        Ubuntu Xenial Xerus (development branch)
+   $ grep PRETTY_NAME /etc/os-release
+   PRETTY_NAME="Ubuntu 16.04.7 LTS"
    $ test/docker-test.sh --os-type centos --os-version 7 --shell
    HEAD is now at 1caee81 autotools: add --enable-docker
    bash-4.2$ pwd
    /srv/ceph/ceph-centos-7
-   bash-4.2$ lsb_release -d
-   Description:        CentOS Linux release 7.0.1406 (Core) 
+   bash-4.2$ cat /etc/redhat-release 
+   CentOS Linux release 7.6.1810 (Core) 
    bash-4.2$ 
    $ time test/docker-test.sh --os-type centos --os-version 7 unittest_str_map
    HEAD is now at 1caee81 autotools: add --enable-docker