test-scripts: test migration scripts
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Dec 2015 07:07:52 +0000 (18:07 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Dec 2015 07:07:52 +0000 (18:07 +1100)
commit20842223385771ce6cb9de058b4dd69629bd9ad0
treef74fac69e587dee43cf8a8595e261c725b2bdc7c
parent6a855067a09f5aeb6480024b74683653bcb750b0
test-scripts: test migration scripts

Add two scripts: "nextid" finds the next available test ID number in a
group, and "mvtest" relocates a test, fixes the golden output, and
moves the group entry for that test.

v2: sorting group files should preserve group order; nextid should use
the same algorithm as new; move both tools to tools/.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
tools/mvtest [new file with mode: 0755]
tools/nextid [new symlink]
tools/sort-group [new file with mode: 0755]