summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-05-07 15:22:28 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-05-07 15:22:28 +0200
commitda579f5153f7fa1108091fc18b0761e7a0581c33 (patch)
treeebcfceb3bd98cdd0a93f56eb7d6e38f013c11ad5 /tests
parent8ac849f21ed34c447d7744cdaf76c3e10d8045cc (diff)
downloadpgfuse-da579f5153f7fa1108091fc18b0761e7a0581c33.tar.gz
pgfuse-da579f5153f7fa1108091fc18b0761e7a0581c33.tar.bz2
fixed the rename problem (EEXIST if the destination file exists is
wrong, the destination file should get all data and metadata from the source file)
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 9170e79..21dedca 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -66,6 +66,12 @@ test: testfsync testpgsql testtypes testbigfile testopen
-df -i mnt
# test open/creat and flags
-./testopen
+ # move test
+ -echo "afile" > mnt/afile
+ -echo "bfile" > mnt/bfile
+ -mv mnt/afile mnt/bfile
+ -cat mnt/bfile
+ -rm mnt/bfile
# END: unmount FUSE file system
fusermount -u mnt