aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-test-Glacier2-staticFiltering-run.py
blob: f3a00fbb38488480eb53e34f64738ff2c8cb5359 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- cpp.orig/test/Glacier2/staticFiltering/run.py	2013-10-04 17:48:14.000000000 +0200
+++ cpp/test/Glacier2/staticFiltering/run.py	2014-08-27 10:17:57.233098328 +0200
@@ -8,7 +8,7 @@
 #
 # **********************************************************************
 
-import os, sys, time, socket
+import os, sys, time, socket, subprocess
 
 path = [ ".", "..", "../..", "../../..", "../../../.." ]
 head = os.path.dirname(sys.argv[0])
@@ -100,6 +100,12 @@
     fqdn = ""
     domainname = ""
 
+print "Network and process debug output:"
+subprocess.call(["/sbin/ifconfig", "-a"])
+subprocess.call(["/sbin/sysctl", "-a"])
+subprocess.call(["/bin/ps", "-alxww"])
+subprocess.call(["/usr/bin/sockstat"])
+subprocess.call(["/usr/bin/netstat", "-an"])
 testcases = [
         ('testing category filter',
                 ('', '', '', 'foo "a cat with spaces"', '', ''),