Fix unixbench not to try to use non-word characters in keys
Now we use the real keyval implementation, it barfs

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2760 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/unixbench/unixbench.py b/client/tests/unixbench/unixbench.py
index 5b149d5..35e85ea 100755
--- a/client/tests/unixbench/unixbench.py
+++ b/client/tests/unixbench/unixbench.py
@@ -1,4 +1,4 @@
-import os
+import os, re
 from autotest_lib.client.bin import test, utils
 from autotest_lib.client.common_lib import error
 
@@ -73,6 +73,7 @@
             # 6 guys before we start accessing the array
             if len(words) >= 6:
                 key = '_'.join(words[:-6])
+                key = re.sub('\W', '', key)
                 value = words[-6]
                 keyval[key] = value
         for line in self.report_data: