]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: don't keep bison messages in tests
authorKarel Zak <kzak@redhat.com>
Tue, 14 Nov 2023 08:31:31 +0000 (09:31 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:47 +0000 (22:25 +0100)
commit76b9791ef73bcaafa9d4912e16d0eb4a8d7ebba4
tree968e242d88f40b9462776dfb5927e7d0737637a0
parent55a460055204047a196efdc2826b3493ee0b6194
tests: don't keep bison messages in tests

Bison generates the 'syntax error' messages and depends on
the Bison version. For example, the current bison uses

        lsfd: failed to parse "(": syntax error, unexpected end of file

But the old version:

        lsfd: failed to parse "(": syntax error, unexpected $end

We do not control these strings, so it's better not to save them to our tests.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/lsfd/filter-broken-exp
tests/ts/lsfd/filter-broken-exp