[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
try {
resultStr = session.run(COMMAND_COUNTER_NO, null);
+ if(resultStr.startsWith("/opt/home/root # ")){
+ resultStr = resultStr.substring(17, resultStr.length());
+ }
} catch (Exception e) {
throw new InterruptedException();
}
}
try {
+ if(resultStr.startsWith("/opt/home/root # ")){
+ resultStr = resultStr.substring(19,resultStr.length());
+ }
saxParser.parse(new InputSource(new StringReader(resultStr)),handler);
} catch (Exception e) {
e.printStackTrace();