Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2D04820049E for ; Thu, 10 Aug 2017 14:08:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B80616B2E0; Thu, 10 Aug 2017 12:08:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53B3516B2E1 for ; Thu, 10 Aug 2017 14:08:30 +0200 (CEST) Received: (qmail 99696 invoked by uid 500); 10 Aug 2017 12:08:29 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 99641 invoked by uid 99); 10 Aug 2017 12:08:29 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2017 12:08:29 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 0151281242; Thu, 10 Aug 2017 12:08:25 +0000 (UTC) Date: Thu, 10 Aug 2017 12:08:32 +0000 To: "commits@openwhisk.apache.org" Subject: [incubator-openwhisk-cli] 07/11: Prints bashauto-completion install script to STDOUT (#2520) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: csantanapr@apache.org Reply-To: "commits@openwhisk.apache.org" In-Reply-To: <150236690535.18577.9550805053823012532@gitbox.apache.org> References: <150236690535.18577.9550805053823012532@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-openwhisk-cli X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 813e9eeb12a731448b7d7d256275f8c9673331c5 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20170810120827.0151281242@gitbox.apache.org> archived-at: Thu, 10 Aug 2017 12:08:31 -0000 This is an automated email from the ASF dual-hosted git repository. csantanapr pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git commit 813e9eeb12a731448b7d7d256275f8c9673331c5 Author: Benjamin Poole AuthorDate: Fri Aug 4 15:03:20 2017 -0400 Prints bashauto-completion install script to STDOUT (#2520) * Prints bash-completion script to STDOUT * Update docs to include Linux/Mac bash verisons needed * Reverted to original install but now includes --stdout flag --- tests/src/test/scala/system/basic/WskSdkTests.scala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/src/test/scala/system/basic/WskSdkTests.scala b/tests/src/test/scala/system/basic/WskSdkTests.scala index 107a6fb..ac448b1 100644 --- a/tests/src/test/scala/system/basic/WskSdkTests.scala +++ b/tests/src/test/scala/system/basic/WskSdkTests.scala @@ -108,4 +108,10 @@ class WskSdkTests } } + it should "print bash command completion script to STDOUT" in { + val msg = "bash completion for wsk" // Subject to change, dependent on Cobra script + + val stdout = wsk.cli(Seq("sdk", "install", "bashauto", "--stdout")).stdout + stdout should include(msg) + } } -- To stop receiving notification emails like this one, please contact "commits@openwhisk.apache.org" .