job: record a job error as an abort on the job

A job error indicates that the whole job is being stopped as a result
of that error.  Record this in the status as an ABORT status so we
know that is what occured.

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


git-svn-id: http://test.kernel.org/svn/autotest/trunk@496 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/job.py b/client/bin/job.py
index 86db2c9..92d4d47 100755
--- a/client/bin/job.py
+++ b/client/bin/job.py
@@ -370,6 +370,7 @@
 	except JobError, instance:
 		print "JOB ERROR: " + instance.args[0]
 		if myjob != None:
+			myjob.record("ABORT " + instance.args[0] + "\n")
 			myjob.complete(1)
 
 	except: