xfstests: honor comments in the test group file
authorAlex Elder <aelder@sgi.com>
Thu, 6 May 2010 17:26:07 +0000 (17:26 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 7 May 2010 15:32:13 +0000 (10:32 -0500)
commit6728bbddc8ecc60334594eaee3e5239a7e3802c8
treeb0a5d691bb03eadf3c04c6b82febe53f090081ac
parentae98f7a137f0edaa371cc83e0793f8f6013f6cf1
xfstests: honor comments in the test group file

There are some spots in the "group" file where test numbers have
groups listed after a '#' character, clearly intending for those
groups to be commented out.  But the way the group list gets
generated that commenting doesn't work, and in fact these tests
explicitly *are* included in such commented-out groups.

This patch fixes that, stripping out all comments (which start
with a '#' character and end with a newline) from the file before
building the set of test numbers for a group.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
common