diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 15:00:27 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 15:00:27 +0100 |
commit | e1daac32c5b7ca0d902c16135d361aa5303f5124 (patch) | |
tree | 3ebe514ae823d23b26c96d8d2db9c6b97e191de4 /test/app-init.bats | |
parent | 11c930f71db58201994265b71a8f76187f1dbda1 (diff) | |
download | app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.tar.gz app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.tar.bz2 app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.tar.xz app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.zip |
o Creating an initial version of install-file.
Diffstat (limited to 'test/app-init.bats')
-rwxr-xr-x | test/app-init.bats | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/app-init.bats b/test/app-init.bats index b62c42e..4e7c281 100755 --- a/test/app-init.bats +++ b/test/app-init.bats @@ -31,12 +31,15 @@ load utils fi app init -d my-app maven -r "file://$BATS_TMPDIR/repo" org.example:app-a:1.0-SNAPSHOT; echo_lines - eq '$status' 0 - eq '${lines[0]}' "Resolving version 1.0-SNAPSHOT..." + eq '$status' 0 + eq '${lines[0]}' "Resolving version 1.0-SNAPSHOT..." match '${lines[1]}' "Resolved version to 1.0-.*" match '${lines[2]}' "Downloading org.example:app-a:1.0-.*" - - eq '${#lines[*]}' 3 + 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 is_directory "my-app/.app" } |