From: Karel Zak Date: Wed, 15 Oct 2014 10:11:05 +0000 (+0200) Subject: tests: check for wipefs and helpers in fdisk tests X-Git-Tag: v2.26-rc1~305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6311e178452fc3789a0255fe141ea598c24f3f3d;p=thirdparty%2Futil-linux.git tests: check for wipefs and helpers in fdisk tests Signed-off-by: Karel Zak --- diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd index ec72aca60f..6b5b47acc4 100755 --- a/tests/ts/fdisk/bsd +++ b/tests/ts/fdisk/bsd @@ -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 diff --git a/tests/ts/sfdisk/dos b/tests/ts/sfdisk/dos index 63921e590a..899e93c72c 100755 --- a/tests/ts/sfdisk/dos +++ b/tests/ts/sfdisk/dos @@ -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