From c3f323cb2cb6076ac3a509fb240cf4d7b97199eb Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 6 Apr 2016 12:30:18 +0200 Subject: tests: don't depend on GNU md5sum Signed-off-by: Ruediger Meier --- tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/functions.sh') 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 { -- cgit v1.2.3-55-g7522