File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 52
52
# true and continue as normal, either processing further commands in a script
53
53
# or returning the cursor focus back to the user in a Linux terminal.
54
54
$ETH_PATH --test -d /tmp/test &
55
+ ETH_PID=$!
55
56
56
57
# Wait until the IPC endpoint is available. That won't be available instantly.
57
58
# The node needs to get a little way into its startup sequence before the IPC
@@ -66,7 +67,7 @@ echo "--> Running tests without optimizer..."
66
67
echo " --> Running tests WITH optimizer..." && \
67
68
" $REPO_ROOT " /build/test/soltest --show-progress -- --optimize --ipcpath /tmp/test/geth.ipc
68
69
ERROR_CODE=$?
69
- pkill eth || true
70
+ pkill " $ETH_PID " || true
70
71
sleep 4
71
- pgrep eth && pkill -9 eth || true
72
- exit $ERROR_CODE
72
+ pgrep " $ETH_PID " && pkill -9 " $ETH_PID " || true
73
+ exit $ERROR_CODE
You can’t perform that action at this time.
0 commit comments