silence error from this command, it is meant to fail.

0.96
Török Edvin 16 years ago
parent 6e65b70e29
commit c11efd7534
  1. 2
      unit_tests/check_common.sh

@ -3,7 +3,7 @@
# Solaris's /bin/sh is not a POSIX shell, and
# it quits when cd fails, even if it is followed by a ||
# So enable -e only on POSIX shells
(cd /nonexistentdir || true) && set -e
(cd /nonexistentdir 2>/dev/null || true) && set -e
WRAPPER=${WRAPPER-}
TOP=`pwd`/..

Loading…
Cancel
Save