commit | 5d774e85e4e729923932ea56928d1db2d79fa396 | [log] [tgz] |
---|---|---|
author | Steve Loughran <stevel@apache.org> | Mon Nov 10 16:55:18 2014 +0000 |
committer | Steve Loughran <stevel@apache.org> | Mon Nov 10 22:48:09 2014 +0000 |
tree | 26a7a74b1d3ceae36f4ea8ea1a18a189650055ba | |
parent | de7f44afca8ce17b9026d360d0ca28a0b017e385 [diff] |
SLIDER-622 test for failfast execution
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 @@ 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 {