diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-14 09:08:56 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-14 09:08:56 +0200 |
commit | a3db63fa62abee81e866fc2397c9302486a09cbb (patch) | |
tree | ba279b6184a5dca3a3aa4920e6d191f034ccd624 /test/utils.bash | |
parent | e9a22d5165c2dda5a0e10506977081222549a8eb (diff) | |
download | app.sh-a3db63fa62abee81e866fc2397c9302486a09cbb.tar.gz app.sh-a3db63fa62abee81e866fc2397c9302486a09cbb.tar.bz2 app.sh-a3db63fa62abee81e866fc2397c9302486a09cbb.tar.xz app.sh-a3db63fa62abee81e866fc2397c9302486a09cbb.zip |
o More tests.
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 "$@" } |