]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: check for tar and {b,g}zip
authorKarel Zak <kzak@redhat.com>
Tue, 11 Dec 2018 10:44:48 +0000 (11:44 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Jan 2019 10:44:19 +0000 (11:44 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/lscpu/lscpu
tests/ts/lsmem/lsmem

index 70fbce9f30935ce80bb86779c64c5fb4735e30cb..ccf271149651a63bb4ccb89059463fca874f29ba 100755 (executable)
@@ -22,6 +22,8 @@ TS_TOPDIR="${0%/*}/../.."
 
 ts_init "$*"
 
+ts_check_prog "tar"
+ts_check_prog "gzip"
 ts_check_test_command "$TS_CMD_LSCPU"
 
 for dump in $(ls $TS_SELF/dumps/*.tar.gz | sort); do
index f1a643f85d0a12ca9d33114d631ba0cb14b1f24b..bedf4143f359724b89a0c38c74017a2376994033 100755 (executable)
@@ -21,6 +21,8 @@ TS_TOPDIR="${0%/*}/../.."
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_LSMEM"
+ts_check_prog "tar"
+ts_check_prog "bzip2"
 
 LSCOLUMNS="RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE"