From: Ken Dreyer Date: Thu, 12 Aug 2021 14:46:16 +0000 (-0400) Subject: test/docker-test: remove lsb_release X-Git-Tag: v16.2.6~19^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c6653b97d19a25be9c890a514a958a3e5cbe5d63;p=ceph.git test/docker-test: remove lsb_release The lsb_release utility brings in a lot of other dependencies. Remove it from the docker-test script. Signed-off-by: Ken Dreyer (cherry picked from commit 24af043ee57419bd28d72ffc85cd1078df9af123) --- diff --git a/src/test/docker-test-helper.sh b/src/test/docker-test-helper.sh index ce7beb19f5ec9..59c3b042f4f57 100755 --- a/src/test/docker-test-helper.sh +++ b/src/test/docker-test-helper.sh @@ -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