]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
lsqa.pl: fix --header output
authorDavid Disseldorp <ddiss@suse.de>
Tue, 11 Oct 2022 09:23:39 +0000 (11:23 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 15 Oct 2022 04:42:57 +0000 (12:42 +0800)
7e98d41a ("fstests: move test group info to test files") replaces the
post-header "seq" assignment with "./common/preamble\n_begin_fstest ..."
Update lsqa.pl to recognise the "./common/preamble" line as a header
divider.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
lsqa.pl

diff --git a/lsqa.pl b/lsqa.pl
index 8ca1167f845c79d671ae667b7cfe1bc1a397a714..63bee58234f99028c9174c82b8bcc4b43f84d3c2 100755 (executable)
--- a/lsqa.pl
+++ b/lsqa.pl
@@ -99,7 +99,7 @@ sub get_qa_header($) {
        m/^# SPDX/i             and next; # SPDX tags
        m/^# Copyright/i        and next; # Copyright tags
        m/^#\s*\-{10}/          and last; # dashed lines
-       m/^seq/i                and last; # test start
+       m/^\. \.\/common\/preamble/ and last; # test start
 
        s/^# *//;