diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-11-10 15:25:23 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-11-10 15:25:23 +0100 |
commit | aa727b8868b428a6b75e0d48a854be65242b257c (patch) | |
tree | 37be2eeff0f50effca07977eec99b7b5364bdddb /test | |
parent | ba7820b18c0ee8631505f7a2a764f7222a732d44 (diff) | |
download | app.sh-master.tar.gz app.sh-master.tar.bz2 app.sh-master.tar.xz app.sh-master.zip |
Diffstat (limited to 'test')
-rwxr-xr-x | test/app-upgrade.bats | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/app-upgrade.bats b/test/app-upgrade.bats index 9a282e3..28841f3 100755 --- a/test/app-upgrade.bats +++ b/test/app-upgrade.bats @@ -58,13 +58,12 @@ load utils # Try to reinstall the same file rm fail-pre-install app upgrade - eq '${lines[0]}' "Resolving version " - eq '${lines[1]}' "Resolved version to 1359766920" - eq '${lines[2]}' "Version 1359766920 is already unpacked" - eq '${lines[3]}' "Importing config from versions/1359766920/app.config" - eq '${lines[4]}' "pre-install" - eq '${lines[5]}' "Changing current symlink from 1356998460 to 1359766920" - eq '${lines[6]}' "post-install" - + eq '${lines[0]}' "Resolving version " + eq '${lines[1]}' "Resolved version to 1359766920" + eq '${lines[2]}' "Version 1359766920 is already unpacked" + eq '${lines[3]}' "Importing config from versions/1359766920/app.config" + eq '${lines[4]}' "pre-install" + eq '${lines[5]}' "Changing current symlink from 1356998460 to 1359766920" + eq '${lines[6]}' "post-install" eq '${#lines[*]}' 7 } |