Fix up kernbench - needs to pickle what it did in the setup phase. git-svn-id: http://test.kernel.org/svn/autotest/trunk@125 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/bin/autotest_utils.py b/bin/autotest_utils.py index cac7437..e77030f 100755 --- a/bin/autotest_utils.py +++ b/bin/autotest_utils.py
@@ -215,6 +215,16 @@ os.system("echo " + string + " >> /dev/tty") +def dump_object(object): + for item in object.__dict__.iteritems(): + print item + try: + (key,value) = item + dump_object(value) + except: + continue + + class fd_stack: # Note that we need to redirect both the sys.stdout type descriptor # (which print, etc use) and the low level OS numbered descriptor