Skip to content

Commit

Permalink
test/docker-test: remove lsb_release
Browse files Browse the repository at this point in the history
The lsb_release utility brings in a lot of other dependencies. Remove
it from the docker-test script.

Signed-off-by: Ken Dreyer <[email protected]>
  • Loading branch information
ktdreyer committed Aug 18, 2021
1 parent 65f4d6e commit 24af043
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/docker-test-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24af043

Please sign in to comment.