diff options
author | Ruediger Meier | 2016-04-06 12:30:18 +0200 |
---|---|---|
committer | Karel Zak | 2016-04-13 12:29:16 +0200 |
commit | c3f323cb2cb6076ac3a509fb240cf4d7b97199eb (patch) | |
tree | 573ea24978e1e53e7e8b6baf4051c6ad7742545b /tests/functions.sh | |
parent | tests: test_md5 prints md5sum only (diff) | |
download | kernel-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/functions.sh')
-rw-r--r-- | tests/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index 5246605e0..fe7ce6d7b 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -460,7 +460,7 @@ function ts_cleanup_on_exit { function ts_image_md5sum { local img=${1:-"$TS_OUTDIR/${TS_TESTNAME}.img"} - echo $(md5sum "$img" | awk '{printf $1}') $(basename "$img") + echo $("$TS_HELPER_MD5" < "$img") $(basename "$img") } function ts_image_init { |