summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 8c55972dc37..7f1c6faad19 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -78,6 +78,12 @@ function check_dependencies()
MISSING="$MISSING pidof"
fi
+ # Check for netstat
+ env netstat --version > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ MISSING="$MISSING netstat"
+ fi
+
# check for psutil python package
test `uname -s` == "Darwin" || test `uname -s` == "FreeBSD" && {
pip show psutil | grep -q psutil >/dev/null 2>&1