Add support for syscall failure tests

This commit is contained in:
Nicolas François
2014-09-20 16:15:32 +02:00
parent 9ae9ca833a
commit 1b4db814ea
3 changed files with 127 additions and 0 deletions

14
tests/common/Makefile Normal file
View File

@@ -0,0 +1,14 @@
all: \
fopen_failure.so \
link_failure.so \
open_RDONLY_failure.so \
open_RDWR_failure.so \
rename_failure.so \
rmdir_failure.so \
time_0.so \
time_past.so \
unlink_failure.so \
unlinkat_failure.so
%.so: %.c
gcc -W -Wall -pedantic -g $< -shared -ldl -o $@