Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlebs Ivanovskis <git-no-reply@zabbix.com>2017-11-30 19:39:18 +0300
committerGlebs Ivanovskis <git-no-reply@zabbix.com>2017-11-30 19:39:18 +0300
commit1d3b0870e29f16287320587a05edd2112cd942fe (patch)
treebc0a34ff0ccb4f8fcc675be0b948df344ae3cbdb /Makefile.am
parent9a0e07345d739cfed0ff14d8dd4981adb8872478 (diff)
....I..... [DEV-628] added test for configuration file parsing; extended mock collection with stat() mock working for files and stubs of opendir() and readdir() for future implementation
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 333c78c7f91..d59f52457a1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -113,12 +113,19 @@ WRAP_IO_FUNCS = \
-Wl,--wrap=fclose \
-Wl,--wrap=fgets
+WRAP_FS_FUNCS = \
+ -Wl,--wrap=opendir \
+ -Wl,--wrap=readdir \
+ -Wl,--wrap=stat \
+ -Wl,--wrap=__xstat
+
WRAP_EXIT = \
-Wl,--wrap=exit
COMMON_WRAP_FUNCS = \
$(WRAP_DB_FUNCS) \
$(WRAP_IO_FUNCS) \
+ $(WRAP_FS_FUNCS) \
$(WRAP_EXIT)
tests: