aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-09-24 00:50:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-09-24 00:50:06 +0800
commit4bd500a0d8675162633c371e2e1eff23261c38d3 (patch)
treef78a6b7f9b48c7f5df7721594788608a461136eb /camel/tests
parent2f6e188b204ce0a2aabc0e0169b72c8cf2fc670c (diff)
downloadgsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.tar
gsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.tar.gz
gsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.tar.bz2
gsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.tar.lz
gsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.tar.xz
gsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.tar.zst
gsoc2013-evolution-4bd500a0d8675162633c371e2e1eff23261c38d3.zip
Don't try dot-files.
2003-09-23 Jeffrey Stedfast <fejj@ximian.com> * tests/message/test4.c (main): Don't try dot-files. svn path=/trunk/; revision=22665
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);