diff options
author | Tim Wiederhake <twiederh@redhat.com> | 2021-05-06 17:08:34 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2021-06-14 12:05:50 +0200 |
commit | a86682c57e46b56d1bfdc1d23ca2b6b7ab2eb3ee (patch) | |
tree | 0a5e7a27335e3807434f23a5588eda1653f3cc56 /build-aux/syntax-check.mk | |
parent | c9ced46673941b846e4d0a82997310534085f79b (diff) | |
download | libvirt-a86682c57e46b56d1bfdc1d23ca2b6b7ab2eb3ee.tar.gz |
tests: virfilemock: realpath: Allow non-null second parameter
When other preloaded libraries wrap and / or make calls to `realpath`
(e.g. LLVM's AddessSanitizer), the second parameter is no longer
guaranteed to be NULL.
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'build-aux/syntax-check.mk')
-rw-r--r-- | build-aux/syntax-check.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 552d639119..03b7599abc 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1740,7 +1740,7 @@ exclude_file_name_regexp--sc_libvirt_unmarked_diagnostics = \ exclude_file_name_regexp--sc_po_check = ^(docs/|src/rpc/gendispatch\.pl$$|tests/commandtest.c$$) exclude_file_name_regexp--sc_prohibit_PATH_MAX = \ - ^build-aux/syntax-check\.mk$$ + ^(build-aux/syntax-check\.mk|tests/virfilemock.c)$$ exclude_file_name_regexp--sc_prohibit_access_xok = \ ^(src/util/virutil\.c)$$ |