From 942c6dfd6bba670d7ba36c686732196dc22814b7 Mon Sep 17 00:00:00 2001 From: "Mark A. Grondona" Date: Wed, 30 Oct 2024 02:17:51 +0000 Subject: [PATCH] testsuite: remove calls the pstree Problem: pstree(1) is not available on all test platforms. Remove its use in debugging tests. --- t/t2000-imp-exec.t | 2 -- 1 file changed, 2 deletions(-) diff --git a/t/t2000-imp-exec.t b/t/t2000-imp-exec.t index 886b2cc..614b456 100755 --- a/t/t2000-imp-exec.t +++ b/t/t2000-imp-exec.t @@ -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 @@ -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 '