Skip to content

Commit 2c5388a

Browse files
author
Prasanna Santhanam
committed
For some reason cat is under /bin on some linuses
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit b8129d6a8e6634f6a101e09d8f0a9620a2379d67)
1 parent 739f7ca commit 2c5388a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

utils/test/com/cloud/utils/ScriptTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void testRunSimpleBashScriptWithTimeout() {
9494
@Test
9595
public void testFindScript() {
9696
Assume.assumeTrue(SystemUtils.IS_OS_LINUX);
97-
String script = Script.findScript("/usr/bin", "cat");
98-
Assert.assertNotNull("/usr/bin/cat shoud be there on linux",script);
97+
String script = Script.findScript("/bin", "pwd");
98+
Assert.assertNotNull("/bin/pwd shoud be there on linux",script);
9999
}
100100
}

0 commit comments

Comments
 (0)