Skip to content

Commit

Permalink
testsuite: remove calls the pstree
Browse files Browse the repository at this point in the history
Problem: pstree(1) is not available on all test platforms.

Remove its use in debugging tests.
  • Loading branch information
grondo committed Oct 30, 2024
1 parent 988960b commit 942c6df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions t/t2000-imp-exec.t
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ test_expect_success SUDO,NO_CHAIN_LINT 'flux-imp exec: setuid IMP lingers' '
test_debug "cat sleeper.pid"
test -f sleeper.pid &&
pid=$(cat sleeper.pid) &&
test_debug "pstree -lup $pid" &&
test $(ps --no-header -o comm -p ${pid}) = "flux-imp" &&
kill -TERM $pid &&
test_expect_code 143 wait $imp_pid
Expand All @@ -257,7 +256,6 @@ test_expect_success SUDO,NO_CHAIN_LINT 'flux-imp exec: SIGUSR1 sends SIGKILL' '
wait_for_file sleeper.pid &&
test -f sleeper.pid &&
pid=$(cat sleeper.pid) &&
test_debug "echo pid=$pid; pstree -Tplu $imp_pid" &&
kill -USR1 $pid &&
test_expect_code 137 wait $imp_pid
'
Expand Down

0 comments on commit 942c6df

Please sign in to comment.