freebsd-skq/bin/pkill/tests
ngie 963c317160 Refactor pkill-j_test to reflect the relevant changes done to pgrep-j_test
r278742:

Simplify jail_name_to_jid and try to be more fault tolerant when scanning for
the jail ID (poll up to 10 times for the jail IDs to become available)

If the scan fails, the code will fall through and fail as it does with Jenkins
today

r278636:

Parameterize out the amount of sleep done in each test

Set the value in each test to a different amount to avoid potential
side-effects with other instances of the test (or lingering processes) still
being present on the system

r278633:

Refactor the tests

1. `id -u` -> 0 is now only checked once; the entire test script is now skipped
   if this assertion is violated
2. De-dent whitespace, based on 1.
3. Only setup the symlink for $sleep once at the top of the script, and tear it
   down once at the bottom of the script
2015-02-14 19:21:04 +00:00
..
Makefile
pgrep-_g_test.sh
pgrep-_s_test.sh
pgrep-F_test.sh
pgrep-g_test.sh
pgrep-i_test.sh
pgrep-j_test.sh Simplify jail_name_to_jid and try to be more fault tolerant when scanning for 2015-02-14 06:19:24 +00:00
pgrep-l_test.sh
pgrep-LF_test.sh
pgrep-n_test.sh
pgrep-o_test.sh
pgrep-P_test.sh
pgrep-q_test.sh
pgrep-s_test.sh
pgrep-t_test.sh
pgrep-U_test.sh
pgrep-v_test.sh
pgrep-x_test.sh
pkill-_g_test.sh
pkill-F_test.sh
pkill-g_test.sh
pkill-i_test.sh
pkill-j_test.sh Refactor pkill-j_test to reflect the relevant changes done to pgrep-j_test 2015-02-14 19:21:04 +00:00
pkill-LF_test.sh
pkill-P_test.sh
pkill-s_test.sh
pkill-t_test.sh
pkill-U_test.sh
pkill-x_test.sh