aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests
diff options
context:
space:
mode:
Diffstat (limited to 'camel/tests')
-rw-r--r--camel/tests/data/messages/.cvsignore1
-rw-r--r--camel/tests/message/test4.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/camel/tests/data/messages/.cvsignore b/camel/tests/data/messages/.cvsignore
new file mode 100644
index 0000000000..e358dd1903
--- /dev/null
+++ b/camel/tests/data/messages/.cvsignore
@@ -0,0 +1 @@
+*.msg
diff --git a/camel/tests/message/test4.c b/camel/tests/message/test4.c
index bc728a928f..ff3b08af30 100644
--- a/camel/tests/message/test4.c
+++ b/camel/tests/message/test4.c
@@ -90,6 +90,9 @@ int main (int argc, char **argv)
char *filename;
struct stat st;
+ if (dent->d_name[0] == '.')
+ continue;
+
filename = g_strdup_printf ("../data/messages/%s", dent->d_name);
if (stat (filename, &st) == -1 || !S_ISREG (st.st_mode)) {
g_free (filename);