mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-08 01:31:37 +00:00
Fix two wrongs in test suppression regex
The suppression specification in test38-char-class-in-ini.abignore was
introduced in commit 1478d9cc1c
.
Unfortunately it contains two errors. One causes the file name not to
match as the string is the full path, not the base name. The other is
a typo that causes the file name match not to even be attempted. The
two mistakes cancel in the test, but result in a suppression
specification that is broader than intended.
* tests/data/test-diff-suppr/test38-char-class-in-ini.abignore:
Don't anchor regex match to beginning of file name.
Change "filename_regexp" to "file_name_regexp".
Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
parent
1ab36e02e5
commit
b96040e5b3
@ -1,4 +1,4 @@
|
||||
[suppress_function]
|
||||
filename_regexp = ^test38-char-class-in-ini-v[[:digit:]].*
|
||||
file_name_regexp = test38-char-class-in-ini-v[[:digit:]].*
|
||||
symbol_name_regexp = bar
|
||||
change_kind = added-function
|
||||
|
Loading…
Reference in New Issue
Block a user