diff options
author | Not Zed <NotZed@Ximian.com> | 2002-09-26 13:56:12 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-09-26 13:56:12 +0800 |
commit | 3cb66ed22a86f8e193f4a28cb8cc3ddd31f427bd (patch) | |
tree | 4e71c3547df2715e0aacdc031c06d2cc06967e47 /camel/tests | |
parent | a007d6d2084df436d5f1fa2b6804064c6e7c62e0 (diff) | |
download | gsoc2013-evolution-3cb66ed22a86f8e193f4a28cb8cc3ddd31f427bd.tar.gz gsoc2013-evolution-3cb66ed22a86f8e193f4a28cb8cc3ddd31f427bd.tar.zst gsoc2013-evolution-3cb66ed22a86f8e193f4a28cb8cc3ddd31f427bd.zip |
Treat spool as a local folder, so the ref checks work right.
2002-09-26 Not Zed <NotZed@Ximian.com>
* tests/folder/test2.c (main): Treat spool as a local folder, so
the ref checks work right.
* providers/local/camel-spool-store.c
(get_folder): Use creat() instead of open() to create file.
svn path=/trunk/; revision=18231
Diffstat (limited to 'camel/tests')
-rw-r--r-- | camel/tests/folder/test2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/tests/folder/test2.c b/camel/tests/folder/test2.c index afd35b1704..57a449ff59 100644 --- a/camel/tests/folder/test2.c +++ b/camel/tests/folder/test2.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) /* create a pseudo-spool file, and check that */ creat("/tmp/camel-test/testbox", 0600); - test_folder_message_ops(session, "spool:///tmp/camel-test/testbox", FALSE, "INBOX"); + test_folder_message_ops(session, "spool:///tmp/camel-test/testbox", TRUE, "INBOX"); check_unref(session, 1); camel_exception_free(ex); |