diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-21 23:28:03 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-21 23:28:03 +0200 |
commit | 22f0f794ac4e40866c5d390a7b27b8bd6713e681 (patch) | |
tree | da5f9febae11d7819a0d908b9505997575b04628 /test/utils.bash | |
parent | 989edff55111db3b457c9e04f3abf296e6ac555c (diff) | |
download | app.sh-22f0f794ac4e40866c5d390a7b27b8bd6713e681.tar.gz app.sh-22f0f794ac4e40866c5d390a7b27b8bd6713e681.tar.bz2 app.sh-22f0f794ac4e40866c5d390a7b27b8bd6713e681.tar.xz app.sh-22f0f794ac4e40866c5d390a7b27b8bd6713e681.zip |
o Removing silly formatting that left extra spaced at the end of
lines.
o Fixing bug in app-conf get subcommand that would only return the
first part of values with an equals sign.
o Makding sure $HOME is always set.
Diffstat (limited to 'test/utils.bash')
-rw-r--r-- | test/utils.bash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/utils.bash b/test/utils.bash index f767d90..9979404 100644 --- a/test/utils.bash +++ b/test/utils.bash @@ -8,10 +8,10 @@ exit_usage_wrong=0 setup() { find test/data -name \*.zip | xargs rm -f + APPSH_HOME=$(cd $BATS_TEST_DIRNAME/..; echo `pwd`) ORIG_PATH=$PATH PATH=/bin:/usr/bin PATH=$PATH:$APPSH_HOME - APPSH_HOME=$(cd $BATS_TEST_DIRNAME/..; echo `pwd`) rm -rf $BATS_TMPDIR/app.sh mkdir $BATS_TMPDIR/app.sh @@ -58,7 +58,7 @@ check_status=yes app() { echo app $@ - run $APPSH_HOME/app $@ + run $APPSH_HOME/app "$@" echo_lines if [ "$check_status" = yes ] @@ -74,7 +74,7 @@ app_libexec() { echo libexec/$@ shift - run "$x" $@ + run "$x" "$@" echo_lines |