| Submitter | Artem Bityutskiy |
|---|---|
| Date | April 8, 2011, 3:16 p.m. |
| Message ID | <1302275810-12632-6-git-send-email-dedekind1@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/90383/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/tests/fs-tests/integrity/Makefile b/tests/fs-tests/integrity/Makefile index a35f4d0..364a732 100644 --- a/tests/fs-tests/integrity/Makefile +++ b/tests/fs-tests/integrity/Makefile @@ -3,7 +3,9 @@ ifeq ($(origin CC),default) CC = gcc endif -CFLAGS := $(CFLAGS) -Wall -g -O2 -I../lib +COMMON_HEADERS_DIR := ../../../include + +CFLAGS := $(CFLAGS) -Wall -g -O2 -I../lib -I$(COMMON_HEADERS_DIR) LDFLAGS := $(LDFLAGS) diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index 155b619..ed32b52 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -30,9 +30,11 @@ #include <limits.h> #include <dirent.h> #include <sys/mman.h> - #include "tests.h" +#define PROGRAM_NAME "integck" +#include "common.h" + /* Structures to store data written to the test file system, so that we can check whether the file system is correct. */