aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/folder/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/tests/folder/test2.c')
-rw-r--r--camel/tests/folder/test2.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/camel/tests/folder/test2.c b/camel/tests/folder/test2.c
index 0fafce35be..9ea0efabbb 100644
--- a/camel/tests/folder/test2.c
+++ b/camel/tests/folder/test2.c
@@ -1,5 +1,9 @@
/* folder testing */
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
#include "camel-test.h"
#include "messages.h"
#include "folders.h"
@@ -40,9 +44,13 @@ int main(int argc, char **argv)
for (i=0;i<ARRAY_LEN(stores);i++) {
char *name = stores[i];
- test_folder_message_ops(session, name, TRUE);
+ test_folder_message_ops(session, name, TRUE, FALSE);
}
+ /* create a pseudo-spool file, and check that */
+ creat("/tmp/camel-test/testbox", 0600);
+ test_folder_message_ops(session, "spool:///tmp/camel-test", FALSE, TRUE);
+
check_unref(session, 1);
camel_exception_free(ex);