tests: check for wipefs and helpers in fdisk tests

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2014-10-15 12:11:05 +02:00
parent 06d199e89a
commit 6311e17845
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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