diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-14 10:58:27 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-14 10:58:27 +0200 |
commit | da3c4a56ba633d65e1a3010a4fe8462e996cd714 (patch) | |
tree | f66fcad8db5edecd661fbbd7264659e96680ae94 | |
parent | 44b2652f72402b5155f99b9550296c4337689491 (diff) | |
download | app.sh-da3c4a56ba633d65e1a3010a4fe8462e996cd714.tar.gz app.sh-da3c4a56ba633d65e1a3010a4fe8462e996cd714.tar.bz2 app.sh-da3c4a56ba633d65e1a3010a4fe8462e996cd714.tar.xz app.sh-da3c4a56ba633d65e1a3010a4fe8462e996cd714.zip |
o Correct && usage.
-rwxr-xr-x | test/app-list-versions.bats | 2 | ||||
-rwxr-xr-x | test/app-list.bats | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/app-list-versions.bats b/test/app-list-versions.bats index e9a70c2..207a282 100755 --- a/test/app-list-versions.bats +++ b/test/app-list-versions.bats @@ -9,7 +9,7 @@ load utils app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-a -v 1.1 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-b -v 1.0 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-a -v 1.0 && - app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 && + app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 [ $status -eq 0 ] app app list-versions -n app-a -i env-a; echo_lines diff --git a/test/app-list.bats b/test/app-list.bats index 4e56f00..e7e06e9 100755 --- a/test/app-list.bats +++ b/test/app-list.bats @@ -9,7 +9,7 @@ load utils app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-a -v 1.1 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-b -v 1.0 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-a -v 1.0 && - app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 && + app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 [ $status -eq 0 ] app app list; echo_lines @@ -34,7 +34,7 @@ app-b:env-b:1.0" ] app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-a -v 1.1 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-b -v 1.0 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-a -v 1.0 && - app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 && + app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 [ $status -eq 0 ] app app list -n foo; echo_lines @@ -59,7 +59,7 @@ app-a:env-b:1.0" ] app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-a -v 1.1 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-b -v 1.0 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-a -v 1.0 && - app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 && + app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 [ $status -eq 0 ] app app list -i foo; echo_lines @@ -84,7 +84,7 @@ app-b:env-a:1.0" ] app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-a -v 1.1 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-a -i env-b -v 1.0 && app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-a -v 1.0 && - app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 && + app app install -r file -u $BATS_TEST_DIRNAME/data/app-a.zip -n app-b -i env-b -v 1.0 [ $status -eq 0 ] app app list -n foo -i bar; echo_lines |