diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-20 18:09:50 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-20 20:23:30 +0200 |
commit | 11cf17750885324a58a68d237b0ac29bc3a6269b (patch) | |
tree | 474da312f12a82629b495b5901c10ea49b08e98c /test/app-init.bats | |
parent | d2e3a3795f345fd78ead2cf06b1134b46f9d4bc4 (diff) | |
download | app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.tar.gz app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.tar.bz2 app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.tar.xz app.sh-11cf17750885324a58a68d237b0ac29bc3a6269b.zip |
o Making all app-conf options except import use <-l location>.
o Setting $HOME to the temporary area when testing.
o Adding test docs for app-conf.
Diffstat (limited to 'test/app-init.bats')
-rwxr-xr-x | test/app-init.bats | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/app-init.bats b/test/app-init.bats index db681a1..3f58890 100755 --- a/test/app-init.bats +++ b/test/app-init.bats @@ -22,7 +22,7 @@ load utils mkzip app-a install_artifact - app init -d my-app maven -r "file://$BATS_TMPDIR/repo" org.example:app-a:1.0-SNAPSHOT; echo_lines + app init -d my-app maven -r "file://$BATS_TMPDIR/repo" org.example:app-a:1.0-SNAPSHOT eq '$status' 0 eq '${lines[0]}' "Resolving Maven version 1.0-SNAPSHOT..." match '${lines[1]}' "Resolved version to 1.0-*" @@ -42,8 +42,8 @@ load utils mkzip app-a install_artifact 1.0 - app init -d my-app maven -r "file://$BATS_TMPDIR/repo" org.example:app-a:1.0; echo_lines - eq '$status' 0 + app conf -l user set maven.repo "file://$BATS_TMPDIR/repo" + app init -d my-app maven org.example:app-a:1.0 match '${lines[0]}' "Resolved version to 1.0" match '${lines[1]}' "Downloading org.example:app-a:1.0-*" eq '${lines[2]}' "Unpacking..." |