From 8e32e6683b935c78d6a221c74effea6e24da13ac Mon Sep 17 00:00:00 2001 From: Michael Gmelin Date: Wed, 27 Aug 2014 18:24:04 +0000 Subject: Add debug output to staticFiltering unit test Reviewed by: bdrewery Approved by: bdrewery --- .../patch-cpp-test-Glacier2-staticFiltering-run.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 devel/ice/files/patch-cpp-test-Glacier2-staticFiltering-run.py (limited to 'devel') 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"', '', ''), -- cgit v1.2.3