You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/11/10 23:48:37 UTC
[08/23] incubator-slider git commit: SLIDER-622 test for failfast
execution
SLIDER-622 test for failfast execution
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/5d774e85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/5d774e85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/5d774e85
Branch: refs/heads/releases/slider-0.60
Commit: 5d774e85e4e729923932ea56928d1db2d79fa396
Parents: de7f44a
Author: Steve Loughran <st...@apache.org>
Authored: Mon Nov 10 16:55:18 2014 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Mon Nov 10 22:48:09 2014 +0000
----------------------------------------------------------------------
.../org/apache/slider/common/tools/TestWindowsSupport.groovy | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/5d774e85/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy b/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
index d7f4121..51c73b2 100644
--- a/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/common/tools/TestWindowsSupport.groovy
@@ -117,6 +117,12 @@ class TestWindowsSupport extends SliderTestBase {
exec(0, ["xargs", "--version"])
}
+ @Test
+ public void testExecNonexistentBinary() throws Throwable {
+ assume(Shell.WINDOWS, "not windows")
+ exec(2, ["undefined-application", "--version"])
+ }
+
@Test
public void testEmitKillCommand() throws Throwable {