test selftest fixup versioning

Fix the selftest and output of selftest tests to match the new format.
Add versioning to the selftest test itself.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@104 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tests/selftest/selftest.py b/tests/selftest/selftest.py
index 244f01b..51b46bb 100644
--- a/tests/selftest/selftest.py
+++ b/tests/selftest/selftest.py
@@ -3,6 +3,8 @@
 from error import *
 
 class selftest(test.test):
+	version = 1
+
 	def setup(self):
 		name = self.job.resultdir + '/sequence'
 		if (not os.path.exists(name)):