tools/nextid: pad 0 in next test id seq number

nextid returns the next available seq number, but it doesn't pad id
number with 0, e.g.

./tools/nextid ext4

After the fix it returns:

./tools/nextid ext4

This eases the process of moving tests around in a script.

Reviewed-by: Christoph Hellwig <>
Signed-off-by: Eryu Guan <>
1 file changed