Browse Source

Work around testcase problems in sbuild/schroot

Christoph Biedl 13 years ago
parent
commit
4ff5d1af4e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/testsuite/getpid.sh

+ 2 - 0
src/testsuite/getpid.sh

@@ -13,6 +13,8 @@ elif [ $UNAME = "A/UX" ]; then
   PS_FLAGS="-ae"; PS_PIDCOL="1"; HEAD_FLAGS="-1"
 elif [ $UNAME = "GNU" ]; then
   PS_FLAGS="-ax"; PS_PIDCOL="2"; HEAD_FLAGS="-n 1"
+elif [ $UNAME = "Linux" ]; then
+  PS_FLAGS="ax"; PS_PIDCOL="1"; HEAD_FLAGS="-n 1"
 elif [ $UNAME = "SunOS" ]; then
   PS_FLAGS="-af"; PS_PIDCOL=2; HEAD_FLAGS="-n 1"
 else