mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Merge parser: set progname explicitly for tst_regex
Otherwise tst_regex would log as being from parser_common.c instead of being from the actual source of parser_regex.c Signed-off-by: Ryan Lee <ryan.lee@canonical.com> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1707 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
f9c20e4786
@ -1449,6 +1449,9 @@ int main(void)
|
||||
int rc = 0;
|
||||
int retval;
|
||||
|
||||
// Default is parser_common.c, but it should be this source file instead
|
||||
progname = __FILE__;
|
||||
|
||||
retval = test_filter_slashes();
|
||||
if (retval != 0)
|
||||
rc = retval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user