From bc26616b1af435f7c7509ff3f5b70bc3991015b2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 6 May 2012 12:51:36 +0200 Subject: added mount option blocksize, can be set when creating the filsystem (first write), schema.sql doesn't contain block size information anymore --- tests/Makefile | 4 +++- tests/clean.sql | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 8b156e6..b8dd4e3 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,13 +2,15 @@ include ../inc.mak PG_CONNINFO = "" +BLOCKSIZE = 4096 + CFLAGS += -I.. test: testfsync testpgsql testtypes testbigfile psql < clean.sql psql < ../schema.sql test -d mnt || mkdir mnt - ../pgfuse -s -v "$(PG_CONNINFO)" mnt + ../pgfuse -o blocksize=$(BLOCKSIZE) -s -v "$(PG_CONNINFO)" mnt mount | grep pgfuse # expect success for making directories -mkdir mnt/dir diff --git a/tests/clean.sql b/tests/clean.sql index 6d94089..8048f01 100644 --- a/tests/clean.sql +++ b/tests/clean.sql @@ -1,4 +1,3 @@ -DROP RULE dir_insert ON dir; DROP RULE dir_remove ON dir; DROP TABLE data; DROP TABLE dir; -- cgit v1.2.3-54-g00ecf