]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add some check_test_command requirements
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 9 Feb 2016 15:24:25 +0000 (16:24 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Fri, 12 Feb 2016 13:11:29 +0000 (14:11 +0100)
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/ts/blkid/mbr-wholedisk
tests/ts/losetup/losetup
tests/ts/losetup/losetup-blkdev

index 546f4b720832fe3d1ebed119748c5f5fcf00aacb..98c9df1b516c8ec35a7b6624c59d2f537776fff2 100755 (executable)
@@ -23,6 +23,8 @@ TS_DESC="mbr-wholedisk"
 
 ts_init "$*"
 
+ts_check_test_command "$TS_CMD_BLKID"
+
 ts_skip_nonroot
 
 # set global variable TS_DEVICE
index 3c4fcb74fe50264773f29a34cecac51a125e1a47..a50d2eb4c35159f4ec253f990328b7242aeeceb9 100755 (executable)
@@ -23,6 +23,7 @@ TS_DESC="losetup"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_LOSETUP"
+ts_check_test_command "$TS_CMD_LSBLK"
 
 # Before checking for loop support we would need to test if losetup -f works at
 # all. At least we do a simple executable test for now.
index 0181a7d60f4d8d4b40121c180f609ed4ec72e3b0..9c6f7ff287cc28940ea84e234df7eee60c84d1e2 100755 (executable)
@@ -23,6 +23,7 @@ TS_DESC="losetup-blkdev"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_LOSETUP"
+ts_check_test_command "$TS_CMD_LSBLK"
 
 ts_skip_nonroot
 ts_check_losetup