summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2019-11-03 15:15:59 +0100
committerAlexander Barton <alex@barton.de>2019-11-03 15:15:59 +0100
commit4169cb25e620cbd8a54cd19b509a8f88d7c295f9 (patch)
tree9255a3b787cb3c7094722d3adf3ac56a30d8dca0 /src
parent9a69c02567ed415286caa67f238e98018ccd758d (diff)
downloadngircd-4169cb25e620cbd8a54cd19b509a8f88d7c295f9.tar.gz
ngircd-4169cb25e620cbd8a54cd19b509a8f88d7c295f9.zip
Make test suite compatible with Haiku
Diffstat (limited to 'src')
-rwxr-xr-xsrc/testsuite/getpid.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testsuite/getpid.sh b/src/testsuite/getpid.sh
index f200afb9..04708e6c 100755
--- a/src/testsuite/getpid.sh
+++ b/src/testsuite/getpid.sh
@@ -14,6 +14,8 @@ elif [ $UNAME = "A/UX" ]; then
   PS_FLAGS="-af"; PS_PIDCOL="2"; HEAD_FLAGS="-1"
 elif [ $UNAME = "GNU" ]; then
   PS_FLAGS="-ax"; PS_PIDCOL="2"; HEAD_FLAGS="-n 1"
+elif [ $UNAME = "Haiku" ]; then
+  PS_FLAGS="-o Id -o Team"; PS_PIDCOL="1"; HEAD_FLAGS="-1"
 elif [ $UNAME = "Linux" ]; then
   PS_FLAGS="ax"; PS_PIDCOL="1"; HEAD_FLAGS="-n 1"
 elif [ $UNAME = "SunOS" ]; then