|
|
|
@ -184,8 +184,7 @@ public class ShellCommandExecutorTest {
|
|
|
|
|
method.setAccessible(true); |
|
|
|
|
Object[] arg1s = {"11111"}; |
|
|
|
|
ShellCommandExecutor result = (ShellCommandExecutor) method.invoke(instance, arg1s); |
|
|
|
|
} |
|
|
|
|
catch (Exception e){ |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
logger.error(e.getMessage()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -200,8 +199,7 @@ public class ShellCommandExecutorTest {
|
|
|
|
|
method.setAccessible(true); |
|
|
|
|
Object[] arg1s = {"/opt/1.txt"}; |
|
|
|
|
AbstractCommandExecutor result = (AbstractCommandExecutor) method.invoke(instance, arg1s); |
|
|
|
|
} |
|
|
|
|
catch (Exception e){ |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
logger.error(e.getMessage()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|