The reparse of existing job is done by a delete and then an insert, this
introduces a new job_idx/test_idx for the same job and voids the old ones,
so users won't be able to use job_idx/test_idx to refer to job/test as their
index might change.

This cl makes reparse to keep the same job_idx and test_idx for existing
jobs.

Also fixes a bug where user created test attributes are being deleted
inadvertently during reparse.

Signed-off-by: Jiqing Tang <jiqingtang@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3992 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed