freebsd-nq/bin/pkill/tests
Alex Richardson 5ff2e55e00 bin/pkill: Fix {pgrep,pkill}-j_test.sh
The POSIX sh case statement does not allow for pattern matching using the
regex + qualifier so this case statement never matches. Instead just check
for a string starting with a digit followed by any character.

While touching these files also fix various shellcheck warnings.

`kyua -v parallelism=4 test` failed before, succeeds now.

Reviewed By:	imp
Differential Revision: https://reviews.freebsd.org/D28480
2021-02-13 13:53:51 +00:00
..
Makefile
Makefile.depend
pgrep-_g_test.sh
pgrep-_s_test.sh
pgrep-F_test.sh
pgrep-g_test.sh
pgrep-i_test.sh
pgrep-j_test.sh
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
pkill-LF_test.sh
pkill-P_test.sh
pkill-s_test.sh
pkill-t_test.sh
pkill-U_test.sh
pkill-x_test.sh