summaryrefslogtreecommitdiff
path: root/build-aux/syntax-check.mk
diff options
context:
space:
mode:
authorTim Wiederhake <twiederh@redhat.com>2021-05-06 17:08:34 +0200
committerMichal Privoznik <mprivozn@redhat.com>2021-06-14 12:05:50 +0200
commita86682c57e46b56d1bfdc1d23ca2b6b7ab2eb3ee (patch)
tree0a5e7a27335e3807434f23a5588eda1653f3cc56 /build-aux/syntax-check.mk
parentc9ced46673941b846e4d0a82997310534085f79b (diff)
downloadlibvirt-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.mk2
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)$$