For some reason cat is under /bin on some linuses

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-07-25 19:13:01 +05:30
parent f4e9282609
commit 81dfaaa901
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ public class ScriptTest {
@Test
public void testFindScript() {
Assume.assumeTrue(SystemUtils.IS_OS_LINUX);
String script = Script.findScript("/usr/bin", "cat");
Assert.assertNotNull("/usr/bin/cat shoud be there on linux",script);
String script = Script.findScript("/bin", "pwd");
Assert.assertNotNull("/bin/pwd shoud be there on linux",script);
}
}