diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-05-06 12:51:36 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-05-06 12:51:36 +0200 |
commit | bc26616b1af435f7c7509ff3f5b70bc3991015b2 (patch) | |
tree | 11fd917530d860b3e59bc5d2075729a90f464a72 /tests | |
parent | b80d19d023149d81fc80ff873d96cf14617db06d (diff) | |
download | pgfuse-bc26616b1af435f7c7509ff3f5b70bc3991015b2.tar.gz pgfuse-bc26616b1af435f7c7509ff3f5b70bc3991015b2.tar.bz2 |
added mount option blocksize, can be set when creating the filsystem
(first write), schema.sql doesn't contain block size information anymore
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 4 | ||||
-rw-r--r-- | tests/clean.sql | 1 |
2 files changed, 3 insertions, 2 deletions
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; |