summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/bsd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/fdisk/bsd')
-rwxr-xr-xtests/ts/fdisk/bsd4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd
index 23ac0537e..7e3c78726 100755
--- a/tests/ts/fdisk/bsd
+++ b/tests/ts/fdisk/bsd
@@ -22,6 +22,8 @@ TS_DESC="nested BSD"
. $TS_TOPDIR/functions.sh
ts_init "$*"
+ts_check_test_command "$TS_CMD_FDISK"
+
FDISK_CMD_CREATE_DOSLABEL="o\n" # create dos label
FDISK_CMD_SETID="x\ni\n0x1\nr\n" # set non-random ID
FDISK_CMD_WRITE_CLOSE="w\nq\n" # write to image
@@ -35,7 +37,7 @@ FDISK_CMD_BSD_CREATE_PART="b\nn\na\n\n+1M\n" # add BSD partition 'a', size 1MiB
FDISK_CMD_BSD_PARTTYPE="b\nt\na\n7\n" # set partition 'a' to type 4.2BSD
FDISK_CMD_BSD_LIST_TYPES="b\nl\nq\n" # list supported PT types and quit
-#set -x
+#set -x
function print_layout {
echo -ne "\n---layout----------" >> $TS_OUTPUT