printing process id

bugfix-109-spaces
Dave Musicant (home machine) 1 year ago
parent e639ce29b9
commit c558fc9db4

@ -27,6 +27,7 @@ teardown() {
# rm -rf $testdir
echo "Process id again $GITWATCH_PID" >&3
# Make sure gitwatch script gets killed if script stopped background
# Must kill the entire tree of processes generated
pkill -9 -P "$GITWATCH_PID"

@ -12,7 +12,8 @@ function commit_log_messages_working { #@test
"${BATS_TEST_DIRNAME}"/../gitwatch.sh -l 10 "$testdir/local/remote" 3>&- &
GITWATCH_PID=$!
echo "Test complete"
echo "Process id $GITWATCH_PID" >&3
echo "Test complete" >&3
}
# # Start up gitwatch with logging, see if works

Loading…
Cancel
Save