fix: dfx_stop now finds dfx start and replica processes
In e2e tests, the ps output for "dfx start" included the path, so the previous grep could never match.
Also added a check for still-running replica processes.
Fixes
@@ -79,6 +79,7 @@ dfx_stop() {
dfx stop
# Verify that processes are killed.
- ! ( ps | grep " [d]fx start" )
+ ! ( ps | grep "[/\s]dfx start" )
+ ! ( ps | grep "[/\s]replica" )
fi
}
