diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-31 21:52:24 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-11-01 19:58:08 +0100 |
commit | 1480338c5a3da5b6494565ab955ab67a15f19dd3 (patch) | |
tree | df68073fad776481251093fd60a901fa7c905bec /test/utils.bash | |
parent | 40eaf2303f013321b923c5bb616f0579a01a9884 (diff) | |
download | app.sh-1480338c5a3da5b6494565ab955ab67a15f19dd3.tar.gz app.sh-1480338c5a3da5b6494565ab955ab67a15f19dd3.tar.bz2 app.sh-1480338c5a3da5b6494565ab955ab67a15f19dd3.tar.xz app.sh-1480338c5a3da5b6494565ab955ab67a15f19dd3.zip |
app-init: Adding '-s' option to set a configuration option before the
resolver is executed and app is installed. The configuration will be
available when the app's hooks are executed.
o Running the documentation though aspell.
Diffstat (limited to 'test/utils.bash')
-rw-r--r-- | test/utils.bash | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/utils.bash b/test/utils.bash index 9979404..930b0f0 100644 --- a/test/utils.bash +++ b/test/utils.bash @@ -39,11 +39,12 @@ echo_lines() { } mkzip() { -( - cd $BATS_TEST_DIRNAME/data/$1 - rm -f ../$1.zip - zip -qr ../$1.zip * -) + local name=$1; shift + pushd . + cd $BATS_TEST_DIRNAME/data/$name + rm -f ../$name.zip + zip -qr ../$name.zip * + popd } install_artifact() { |