From e117fdaa70f70b7d31de20b7de4b8bbf987a122f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 18 Apr 2016 18:32:13 +0200 Subject: [PATCH] Add helper function to cat an entry from the store --- tests/utils.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/utils.sh b/tests/utils.sh index 8babfd21..6fc23ad8 100644 --- a/tests/utils.sh +++ b/tests/utils.sh @@ -42,6 +42,10 @@ imag-call-binary() { $bin $flags $* } +cat_entry() { + cat ${STORE}/$1 +} + reset_store() { rm -r "${STORE}" }