From: Alexander Barton Date: Sun, 3 Nov 2019 14:15:59 +0000 (+0100) Subject: Make test suite compatible with Haiku X-Git-Tag: rel-26-rc1~60 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=4169cb25e620cbd8a54cd19b509a8f88d7c295f9 Make test suite compatible with Haiku --- 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