aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2014-08-27 18:24:04 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2014-08-27 18:24:04 +0000
commit8e32e6683b935c78d6a221c74effea6e24da13ac (patch)
treeb7218a576f9888dc29287c930a1e8275c9bd88d4 /devel/ice/files
parent24697d84670bc603d43bdab52f4408da34b5f6bf (diff)
downloadports-8e32e6683b935c78d6a221c74effea6e24da13ac.tar.gz
ports-8e32e6683b935c78d6a221c74effea6e24da13ac.zip
Add debug output to staticFiltering unit test
Reviewed by: bdrewery Approved by: bdrewery
Notes
Notes: svn path=/head/; revision=366337
Diffstat (limited to 'devel/ice/files')
-rw-r--r--devel/ice/files/patch-cpp-test-Glacier2-staticFiltering-run.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/ice/files/patch-cpp-test-Glacier2-staticFiltering-run.py b/devel/ice/files/patch-cpp-test-Glacier2-staticFiltering-run.py
new file mode 100644
index 000000000000..71682c85e713
--- /dev/null
+++ b/devel/ice/files/patch-cpp-test-Glacier2-staticFiltering-run.py
@@ -0,0 +1,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(["/usr/bin/netstat", "-an"])
++subprocess.call(["/bin/ps", "-alxww"])
++subprocess.call(["/usr/bin/sockstat"])
++subprocess.call(["/sbin/ifconfig", "-a"])
++subprocess.call(["/sbin/sysctl", "-a"])
+ testcases = [
+ ('testing category filter',
+ ('', '', '', 'foo "a cat with spaces"', '', ''),