aboutsummaryrefslogtreecommitdiff
path: root/test/app-init.bats
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-27 19:41:28 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-27 19:49:58 +0100
commit1e4a96730da70fcfa3b8c153874cbdebad0f9829 (patch)
tree9495f33f6b54621e0a684b553b64a6958744c1e3 /test/app-init.bats
parente1daac32c5b7ca0d902c16135d361aa5303f5124 (diff)
downloadapp.sh-1e4a96730da70fcfa3b8c153874cbdebad0f9829.tar.gz
app.sh-1e4a96730da70fcfa3b8c153874cbdebad0f9829.tar.bz2
app.sh-1e4a96730da70fcfa3b8c153874cbdebad0f9829.tar.xz
app.sh-1e4a96730da70fcfa3b8c153874cbdebad0f9829.zip
o Starting on a style guide.
app-conf: Adding 'import' command. app-cat-conf: Adding support for multiple -f flags. The default files can be switched off. A file named "-" is the same as /dev/stdin. app: Adding a way to enable debugging. app-install-file: Import any configuration delivered with the package.
Diffstat (limited to 'test/app-init.bats')
-rwxr-xr-xtest/app-init.bats5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/app-init.bats b/test/app-init.bats
index 4e7c281..10edc63 100755
--- a/test/app-init.bats
+++ b/test/app-init.bats
@@ -37,9 +37,8 @@ load utils
match '${lines[2]}' "Downloading org.example:app-a:1.0-.*"
eq '${lines[3]}' "Unpacking..."
match '${lines[4]}' "Creating current symlink for version 1.0-.*"
- eq '${lines[5]}' "Running hook: post-install"
- eq '${lines[6]}' "Post install"
- eq '${#lines[*]}' 7
+ eq '${lines[5]}' "Post install"
+ eq '${#lines[*]}' 6
is_directory "my-app/.app"
}