From e1daac32c5b7ca0d902c16135d361aa5303f5124 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 27 Jan 2013 15:00:27 +0100 Subject: o Creating an initial version of install-file. --- test/app-init.bats | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test/app-init.bats') 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" } -- cgit v1.2.3