Avoid (some) hard-coded pathes in tests

This commit is contained in:
yangfl committed 2020-06-01 23:04:29 +08:00
1 parent 824da13977
commit e5fe988cdc
18 files changed
+594 -39

No files matched your search

+10 -1
View File
@@ -1,6 +1,15 @@
EXTRA_DIST = check.h
EXTRA_DIST = check.h \
data/fexist/dir/.placeholder data/fexist/executable data/fexist/link \
data/fexist/regular data/lfile/fstab data/lfile/group data/lfile/passwd \
data/lfile/protocols data/lfile/services data/which/executable \
data/which/executable-link data/which/regular
CLEANFILES = *~ *.trs *.log
TESTS_ENVIRONMENT = ([ -d data ] || ln -sf $(srcdir)/data) &&
clean-local:
-find -type l -name data -exec rm {} \;
TESTS =
TESTS += chomp
TESTS += copyfile