]> arthur.barton.de Git - ngircd.git/commitdiff
Make test suite compatible with Haiku
authorAlexander Barton <alex@barton.de>
Sun, 3 Nov 2019 14:15:59 +0000 (15:15 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 3 Nov 2019 14:15:59 +0000 (15:15 +0100)
src/testsuite/getpid.sh

index f200afb9ad69494a45f657f2fa4d4e160a088076..04708e6c27ad7d6ccb9bad9a78786ee1976e1b75 100755 (executable)
@@ -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