14965: Add sanity check for netstat.
authorTom Clegg <tclegg@veritasgenetics.com>
Tue, 9 Jul 2019 17:42:27 +0000 (13:42 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Tue, 9 Jul 2019 17:42:27 +0000 (13:42 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

build/run-tests.sh

index ec4fec918d6278811b8a2dfdd001d44bd216d25a..ebcedf8cda5f31971ca9b197811c3edff029592c 100755 (executable)
@@ -222,6 +222,8 @@ sanity_checks() {
     echo -n 'Python3 pyconfig.h: '
     find /usr/include -path '*/python3*/pyconfig.h' | egrep --max-count=1 . \
         || fatal "No Python3 pyconfig.h. Try: apt-get install python3-dev"
+    which netstat \
+        || fatal "No netstat. Try: apt-get install net-tools"
     echo -n 'nginx: '
     PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin" nginx -v \
         || fatal "No nginx. Try: apt-get install nginx"