mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-26 00:41:52 +08:00
fix: assertion failed
This commit is contained in:
@@ -545,7 +545,7 @@ public class ShellAssertion {
|
|||||||
}
|
}
|
||||||
log.info("attach all output:\n{}", attachStdout);
|
log.info("attach all output:\n{}", attachStdout);
|
||||||
System.out.println("attach all stderr: " + attachResult.getStderr());
|
System.out.println("attach all stderr: " + attachResult.getStderr());
|
||||||
assertThat("Attach all should complete with ok", attachStdout, containsString("ok"));
|
assertThat("Attach all should complete with Success", attachStdout, containsString("Success"));
|
||||||
|
|
||||||
// Test 3: Verify shell injection was successful
|
// Test 3: Verify shell injection was successful
|
||||||
String paramName = ((CommandConfig) shellToolConfig).getParamName();
|
String paramName = ((CommandConfig) shellToolConfig).getParamName();
|
||||||
|
|||||||
Reference in New Issue
Block a user