Fixed StepProcessorTest for running on Ubuntu.
Change-Id: If35789d5ca14b06ae808bb73b833ec0212e5dac6
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -40,7 +40,7 @@ public class StepProcessorTest { | ... | @@ -40,7 +40,7 @@ public class StepProcessorTest { |
40 | @BeforeClass | 40 | @BeforeClass |
41 | public static void setUpClass() { | 41 | public static void setUpClass() { |
42 | StepProcessor.launcher = "echo"; | 42 | StepProcessor.launcher = "echo"; |
43 | - checkState(DIR.mkdirs(), "Unable to create directory"); | 43 | + checkState(DIR.exists() || DIR.mkdirs(), "Unable to create directory"); |
44 | } | 44 | } |
45 | 45 | ||
46 | @AfterClass | 46 | @AfterClass | ... | ... |
-
Please register or login to post a comment