diff options
Diffstat (limited to 'test/utils.bash')
-rw-r--r-- | test/utils.bash | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/utils.bash b/test/utils.bash index eacabe8..eaa2580 100644 --- a/test/utils.bash +++ b/test/utils.bash @@ -19,6 +19,14 @@ setup() { ln -s $APPSH } +zip_app_a() { +( + cd $BATS_TEST_DIRNAME/data/app-a + rm -f ../app-a.zip + zip -qr ../app-a.zip * +) +} + app() { run ./app "$@" } |