From aa727b8868b428a6b75e0d48a854be65242b257c Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 10 Nov 2013 15:25:23 +0100 Subject: o Automatically fetching Bats if not installed. --- test/app-upgrade.bats | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'test') 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 } -- cgit v1.2.3