From defcfa5d261e4c64b1c91d9c63d6d1059c0ed1fb Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Tue, 12 May 2015 16:24:52 +0100 Subject: [PATCH] test *_on helpers should send non-result output to &2, so that asserts work Previously, the result output would include: Docker on: result output text etc... But this would cause: assert "docker_on ..." to fail --- test/config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/config.sh b/test/config.sh index 27dfbed3..78ce4a59 100644 --- a/test/config.sh +++ b/test/config.sh @@ -63,21 +63,21 @@ greenly() { run_on() { host=$1 shift 1 - greyly echo "Running on $host: $@" + greyly echo "Running on $host: $@" >&2 remote $host $SSH $host $@ } docker_on() { host=$1 shift 1 - greyly echo "Docker on $host: $@" + greyly echo "Docker on $host: $@" >&2 docker -H tcp://$host:2375 $@ } weave_on() { host=$1 shift 1 - greyly echo "Weave on $host: $@" + greyly echo "Weave on $host: $@" >&2 DOCKER_HOST=tcp://$host:2375 $WEAVE $@ }