# HG changeset patch # User Joerg Sonnenberger # Date 1586436571 -7200 # Node ID 277b45cf0dda62fbbcbace4518dc6d3e4926ea4b # Parent fbe07b1cf5d4d228accfcbdbc49fbee320a7b981 tests: silence potential warnings about uname -o The option is not supported on the BSDs, but also not relevant as it is only used to detect msys. diff -r fbe07b1cf5d4 -r 277b45cf0dda tests/testlib/pythonpath.sh --- a/tests/testlib/pythonpath.sh Fri May 01 21:05:37 2020 +0200 +++ b/tests/testlib/pythonpath.sh Thu Apr 09 14:49:31 2020 +0200 @@ -3,7 +3,7 @@ export SRCDIR="`dirname $TESTDIR`" if [ -n "$PYTHONPATH" ]; then export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH - if uname -o | grep -q Msys; then + if uname -o 2> /dev/null | grep -q Msys; then export PYTHONPATH="$SRCDIR;$PYTHONPATH" else export PYTHONPATH=$SRCDIR:$PYTHONPATH