From e37fb65fbab9e47a0a681f0facf0656e60dcffa4 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Mon, 30 Apr 2018 00:02:01 +0200 Subject: [PATCH] Tweak bootstrap test --- scripts/travis.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/travis.sh b/scripts/travis.sh index 3e247e940..f763fde8d 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh @@ -111,8 +111,10 @@ publish() { testBootstrap() { if [ "$SCALA_VERSION" = 2.12 ]; then sbt scalaFromEnv "project cli" pack - cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo:1.0.0 - if [ "$(./cs-echo foo)" != foo ]; then + + cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo:1.0.1 + local OUT="$(./cs-echo foo)" + if [ "$OUT" != foo ]; then echo "Error: unexpected output from bootstrapped echo command." 1>&2 exit 1 fi