]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: check for wipefs and helpers in fdisk tests
authorKarel Zak <kzak@redhat.com>
Wed, 15 Oct 2014 10:11:05 +0000 (12:11 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 15 Oct 2014 10:11:05 +0000 (12:11 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/fdisk/bsd
tests/ts/sfdisk/dos

index ec72aca60ffba8bef6ff348e0a682f9b47966d02..6b5b47acc41733657bce4d25319dae8db0b8b82a 100755 (executable)
@@ -23,6 +23,7 @@ TS_DESC="nested BSD"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_FDISK"
+ts_check_test_command "$TS_HELPER_SYSINFO"
 
 FDISK_CMD_CREATE_DOSLABEL="o\n"              # create dos label
 FDISK_CMD_SETID="x\ni\n0x1\nr\n"             # set non-random ID
index 63921e590a23f400db7503a2753462e84f84b239..899e93c72cecff6a4171f6a969a4a5e1901ff580 100755 (executable)
@@ -22,6 +22,7 @@ TS_DESC="MBR"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_FDISK"
+ts_check_test_command "$TS_CMD_WIPEFS"
 
 ts_skip_nonroot