about summary refs log tree commit diff
path: root/src/testsuite/stop-server2
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2024-04-01 21:38:21 +0200
committerAlexander Barton <alex@barton.de>2024-04-05 23:16:07 +0200
commit22a8744476dff7763cd94954bd8f96fbdfc0d251 (patch)
treecb987bbaaca39b05ffb3547d765a0f5e9f9db608 /src/testsuite/stop-server2
parent7e78c293a97239f895b862836c65c4b755abdc52 (diff)
downloadngircd-22a8744476dff7763cd94954bd8f96fbdfc0d251.tar.gz
ngircd-22a8744476dff7763cd94954bd8f96fbdfc0d251.zip
Test suite: simplify and enhance getpid.sh
- Try to only search for processes of the current user.
- Prefer using pgrep (in addition to pidof) when available.
- Streamline system overrides.
- Get rid of HEAD_FLAGS: all systems so far support "-1".
- Use "ps -o pid,comm" as the default, which is POSIX.1.
- Use "sort -r" to hopefully get the newest (=highest) PID, which is the
  case on older systems not using randomized PIDs at least.
Diffstat (limited to 'src/testsuite/stop-server2')
0 files changed, 0 insertions, 0 deletions