summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorSven Fischer <sven@fischer-abc.de>2018-03-12 23:00:28 +0100
committerSven Fischer <sven@fischer-abc.de>2018-03-12 23:19:24 +0100
commitc64fa1496517ba57e5a4dc4573ce5abf73ea03a0 (patch)
treea7f2c9fb4172bc748fad126e63ad6b2956350630 /run-tests.sh
parenta96c7e748fccfa796a712b6aac92206212915cdc (diff)
run-tests.sh: added dependency check for netstat
Because bug-924726.t depends on netstat, tests failed before. This got resolved by adding respective check to run-tests.sh. Enabled respective test again. Change-Id: I70c9bff03379ed9ee8cd95842c3501dfb50b8e86 BUG: 1312830 Signed-off-by: Sven Fischer <sven@fischer-abc.de>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 450d066bf40..8c55972dc37 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -41,6 +41,12 @@ function check_dependencies()
fi
fi
+ # Check for netstat
+ env netstat --version > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ MISSING="$MISSING netstat"
+ fi
+
# Check for the Perl Test Harness
env prove --version > /dev/null 2>&1
if [ $? -ne 0 ]; then