The disk usage warning shouldn't be using a subdir of "Check disk
usage".
Signed-off-by: John Admanski <jadmanski@google.com>
diff -up a/client/bin/job.py b/client/bin/job.py
--- a/client/bin/job.py 2008-02-28 14:40:58.000000000 -0800
+++ b/client/bin/job.py 2008-03-03 07:50:24.000000000 -0800
@@ -722,5 +722,6 @@ def runjob(control, cont = False, tag =
df_root = system_output('df -m / | tail -1').split()
free_space_mb_root_after = int(df_root[3])
if myjob.free_space_mb_root_before - free_space_mb_root_after > 5:
- myjob.record('WARN', 'Check disk usage', 'disk usage on root is
greater than 5Mb')
+ myjob.record('WARN', None, 'disk_usage',
+ 'disk usage on root is greater than 5Mb')
myjob.complete(0)
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1289 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed