You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/08/10 12:08:32 UTC
[incubator-openwhisk-cli] 07/11: Prints bashauto-completion install
script to STDOUT (#2520)
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 <Be...@ibm.com>
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" <co...@openwhisk.apache.org>.