Fix getpid.sh to work on Apple A/UX again
authorAlexander Barton <alex@barton.de>
Wed, 26 Sep 2012 22:19:31 +0000 (00:19 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 26 Sep 2012 22:19:31 +0000 (00:19 +0200)
src/testsuite/getpid.sh

index 19ced7620f13d9befb989eae635ab1fcdfc2e6a2..96ab474685111b1322e9c806282f3debfb01ba21 100755 (executable)
@@ -10,7 +10,7 @@ UNAME=`uname`
 if [ $UNAME = "FreeBSD" ]; then
   PS_FLAGS="-a"; PS_PIDCOL="1"; HEAD_FLAGS="-n 1"
 elif [ $UNAME = "A/UX" ]; then
-  PS_FLAGS="-ae"; PS_PIDCOL="1"; HEAD_FLAGS="-1"
+  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 = "Linux" ]; then