From 98f9651f73434d96021d784b330dd21546a973ee Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 4 Aug 2016 11:43:53 +0200 Subject: [PATCH] Always log cli output --- test/selfhost-ec2-create-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/selfhost-ec2-create-test.js b/test/selfhost-ec2-create-test.js index 561ff01..bf1ba11 100644 --- a/test/selfhost-ec2-create-test.js +++ b/test/selfhost-ec2-create-test.js @@ -74,9 +74,9 @@ describe('Selfhost EC2 Cloudron creation', function () { ]; var out = machine('create ec2 ' + params.join(' ')); + console.log(out.stdout, out.stderr); if (out.stdout.indexOf('You can now setup your Cloudron at') === -1) { - console.error(out.stdout, out.stderr); assert(false, 'Creation failed'); } @@ -146,9 +146,9 @@ describe('Selfhost EC2 Cloudron creation', function () { ]; var out = machine('restore ec2 ' + params.join(' ')); + console.log(out.stdout, out.stderr); if (out.stdout.indexOf('You can now use your Cloudron at') === -1) { - console.error(out.stdout, out.stderr); assert(false, 'Restore failed'); } @@ -198,9 +198,9 @@ describe('Selfhost EC2 Cloudron creation', function () { ]; var out = machine('update ' + params.join(' ')); + console.log(out.stdout, out.stderr); if (out.stdout.indexOf('You can now use your Cloudron at') === -1) { - console.error(out.stdout, out.stderr); assert(false, 'Update failed'); } }); @@ -223,9 +223,9 @@ describe('Selfhost EC2 Cloudron creation', function () { ]; var out = machine('migrate ec2 ' + params.join(' ')); + console.log(out.stdout, out.stderr); if (out.stdout.indexOf('You can now use your Cloudron at') === -1) { - console.error(out.stdout, out.stderr); assert(false, 'Migrate failed'); } });