summaryrefslogtreecommitdiff
path: root/harness
diff options
context:
space:
mode:
Diffstat (limited to 'harness')
-rw-r--r--harness/Makefile2
-rw-r--r--harness/cases/18.t2
2 files changed, 1 insertions, 3 deletions
diff --git a/harness/Makefile b/harness/Makefile
index 3db5573..01ccfd3 100644
--- a/harness/Makefile
+++ b/harness/Makefile
@@ -6,7 +6,7 @@ PROGS:=$(PARTPROGS) $(EXTRAPROGS)
HARNESS_SRCS:=main.c
# io_queue.c
-CFLAGS+=-Wall -Werror -I../src -g -O -lpthread
+CFLAGS+=-Wall -Werror -I../src -g -O2 -lpthread -DPAGE_SIZE=$(shell getconf PAGESIZE)
#-lpthread -lrt
all: $(PROGS)
diff --git a/harness/cases/18.t b/harness/cases/18.t
index 1fdcf91..6bb0377 100644
--- a/harness/cases/18.t
+++ b/harness/cases/18.t
@@ -34,8 +34,6 @@
#include <libaio.h>
#include <stdbool.h>
-#define PAGE_SIZE 4096
-
#define FILENAME "tempfile"
#define FILEPATTERN '1'
#define DESTROY_PATTERN '2'