diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-13 10:07:46 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-13 10:07:46 +0200 |
commit | f873bf42db96ca494f8c0fff7838c30b84b1849e (patch) | |
tree | a1dc3a7a426d354765386684a9d89582d056d0fd /Makefile | |
parent | 24d3992039adc8f346c481084fdcfd1eea19eca7 (diff) | |
download | pgfuse-f873bf42db96ca494f8c0fff7838c30b84b1849e.tar.gz pgfuse-f873bf42db96ca494f8c0fff7838c30b84b1849e.tar.bz2 |
added unlink for files and corrected rmdir
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -21,6 +21,7 @@ test: pgfuse psql < schema.sql -./pgfuse -s -v "" mnt mount | grep pgfuse + # expect success for all -mkdir mnt/dir -mkdir mnt/dir/dir2 -mkdir mnt/dir/dir3 @@ -30,6 +31,12 @@ test: pgfuse -ls -al mnt -ls -al mnt/dir/dir2 -rmdir mnt/dir/dir3 + # expect fail (directory not empty) + -rmdir mnt/dir + # expect fail (not a directory) + -rmdir mnt/dir/dir2/bfile + # expect success + -rm mnt/dir/dir2/bfile fusermount -u mnt pgfuse: pgfuse.o pgsql.o |