aboutsummaryrefslogtreecommitdiff
path: root/tests/checkfs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkfs')
-rw-r--r--tests/checkfs/Makemodule.am18
-rw-r--r--tests/checkfs/comm.c2
2 files changed, 5 insertions, 15 deletions
diff --git a/tests/checkfs/Makemodule.am b/tests/checkfs/Makemodule.am
index 6e1314f..631ab92 100644
--- a/tests/checkfs/Makemodule.am
+++ b/tests/checkfs/Makemodule.am
@@ -1,22 +1,10 @@
checkfs_SOURCES = tests/checkfs/checkfs.c tests/checkfs/comm.c
+checkfs_SOURCES += tests/checkfs/common.h
checkfs_CPPFLAGS = $(AM_CPPFLAGS)
makefiles_SOURCES = tests/checkfs/makefiles.c
makefiles_CPPFLAGS = $(AM_CPPFLAGS)
-CHECKFS_BINS = \
- makefiles checkfs
+EXTRA_DIST += tests/checkfs/README
-CHECKFS_HEADER = \
- tests/checkfs/common.h
-
-CHECKFS_EXTRA = \
- tests/checkfs/README
-
-EXTRA_DIST += $(CHECKFS_EXTRA) $(CHECKFS_HEADER)
-
-if INSTALL_TESTS
-pkglibexec_PROGRAMS += $(CHECKFS_BINS)
-else
-noinst_PROGRAMS += $(CHECKFS_BINS)
-endif
+test_PROGRAMS += makefiles checkfs
diff --git a/tests/checkfs/comm.c b/tests/checkfs/comm.c
index c8c457e..9f4e20d 100644
--- a/tests/checkfs/comm.c
+++ b/tests/checkfs/comm.c
@@ -28,6 +28,8 @@
#include <unistd.h>
#include <string.h>
+int do_pwr_dn(int fd, int cycleCnt);
+
/*
This is the routine that forms and
sends the "ok to pwr me down" message