Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- tests/env-ddf-template | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tests/env-ddf-template b/tests/env-ddf-template index cc9cc2b..c0a4b71 100644 --- a/tests/env-ddf-template +++ b/tests/env-ddf-template @@ -1,3 +1,7 @@ +sha1_sum() { + sha1sum "$1" | cut -c 1-40 +} + get_rootdev() { local dev=$(stat -c %D /) local maj=$(expr $dev : '\(..\)') -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html