We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a923e01 commit 34c5dfcCopy full SHA for 34c5dfc
tests/probes/process58/command_line.sh
@@ -90,7 +90,7 @@ echo "stderr file: $stderr"
90
CMDLINE_REGEX='/(\w+/)+bash.*stopped_process\.sh param1 param2 param3$'
91
92
# Run zombie process (without full cmdline)
93
- ( SHELL_PID=$BASHPID && ( kill -STOP $SHELL_PID ) ) &
+ ( SHELL_PID=$BASHPID && ( kill -STOP $SHELL_PID && sleep 1 ) ) &
94
ZOMBIE_PPID=$!
95
ZOMBIE_PID=$(get_zombie_pid_from_ppid ${ZOMBIE_PPID})
96
[ -n "${ZOMBIE_PPID}" ]
0 commit comments