Add tsc syncronization checking test

Signed-off-by: Michael Davidson <md@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@508 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/tsc/tsc.py b/client/tests/tsc/tsc.py
new file mode 100755
index 0000000..3023e06
--- /dev/null
+++ b/client/tests/tsc/tsc.py
@@ -0,0 +1,16 @@
+import test
+from autotest_utils import *
+
+class tsc(test.test):
+	version = 1
+
+	def setup(self, tarball = 'checktsc.tar'):
+		tarball = unmap_url(self.bindir, tarball, self.tmpdir)
+		extract_tarball_to_dir(tarball, self.srcdir)
+		os.chdir(self.srcdir)
+		system('make')
+
+	
+	def execute(self, iterations = 1, args = '--silent'):
+		for i in range(iterations):
+			system(self.srcdir + '/checktsc ' + args)