mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
tools: make convert-group ignore converted test files
Teach the tool that rewrites tests files to use _begin_fstest group tagging to ignore tests that have already been treated. This will make it easier for people to rebase their dev branches. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
80b8fe47d0
commit
c9419e671d
@@ -16,6 +16,8 @@ obliterate_group_file() {
|
||||
elif [ ! -e "$test" ]; then
|
||||
echo "Ignoring unknown test file \"$test\"."
|
||||
continue
|
||||
elif grep -q '^_begin_fstest' "$test"; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# Replace all the open-coded test preparation code with a
|
||||
|
||||
Reference in New Issue
Block a user