summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk
diff options
context:
space:
mode:
authorRuediger Meier2016-04-06 12:30:18 +0200
committerKarel Zak2016-04-13 12:29:16 +0200
commitc3f323cb2cb6076ac3a509fb240cf4d7b97199eb (patch)
tree573ea24978e1e53e7e8b6baf4051c6ad7742545b /tests/ts/fdisk
parenttests: test_md5 prints md5sum only (diff)
downloadkernel-qcow2-util-linux-c3f323cb2cb6076ac3a509fb240cf4d7b97199eb.tar.gz
kernel-qcow2-util-linux-c3f323cb2cb6076ac3a509fb240cf4d7b97199eb.tar.xz
kernel-qcow2-util-linux-c3f323cb2cb6076ac3a509fb240cf4d7b97199eb.zip
tests: don't depend on GNU md5sum
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/fdisk')
-rwxr-xr-xtests/ts/fdisk/mbr-dos-mode1
-rwxr-xr-xtests/ts/fdisk/mbr-nondos-mode1
-rwxr-xr-xtests/ts/fdisk/oddinput1
-rwxr-xr-xtests/ts/fdisk/sunlabel1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/fdisk/mbr-dos-mode b/tests/ts/fdisk/mbr-dos-mode
index 4fad8da77..219df2f8e 100755
--- a/tests/ts/fdisk/mbr-dos-mode
+++ b/tests/ts/fdisk/mbr-dos-mode
@@ -23,6 +23,7 @@ TS_DESC="MBR - dos mode"
ts_init "$*"
ts_check_test_command "$TS_CMD_FDISK"
+ts_check_test_command "$TS_HELPER_MD5"
FDISK_CMD_INIT="x\ni\n0x1\nr\n"
FDISK_CMD_WRITE_CLOSE="w\nq\n"
diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode
index f39b5e0f0..e01b060f3 100755
--- a/tests/ts/fdisk/mbr-nondos-mode
+++ b/tests/ts/fdisk/mbr-nondos-mode
@@ -21,6 +21,7 @@ TS_DESC="MBR - non-dos mode"
ts_init "$*"
ts_check_test_command "$TS_CMD_FDISK"
+ts_check_test_command "$TS_HELPER_MD5"
# cmd to changes system id to 0x1
FDISK_CMD_INIT="x\ni\n0x1\nr\n"
diff --git a/tests/ts/fdisk/oddinput b/tests/ts/fdisk/oddinput
index 6625d2583..067924264 100755
--- a/tests/ts/fdisk/oddinput
+++ b/tests/ts/fdisk/oddinput
@@ -21,6 +21,7 @@ TS_DESC="invalid input tests"
ts_init "$*"
ts_check_test_command "$TS_CMD_FDISK"
+ts_check_test_command "$TS_HELPER_MD5"
#set -x
diff --git a/tests/ts/fdisk/sunlabel b/tests/ts/fdisk/sunlabel
index 5bfbb4f4c..d6b103366 100755
--- a/tests/ts/fdisk/sunlabel
+++ b/tests/ts/fdisk/sunlabel
@@ -21,6 +21,7 @@ TS_DESC="sunlabel tests"
ts_init "$*"
ts_check_test_command "$TS_CMD_FDISK"
+ts_check_test_command "$TS_HELPER_MD5"
FDISK_CMD_INIT="s\n" # create new sunlabel
FDISK_CMD_WRITE_CLOSE="w\nq\n"