diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.dk> | 2016-01-25 10:40:29 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-02-01 00:04:57 +0100 |
commit | c9b8a3f9afc0187ba41c22c41d18ae59e58a5dfa (patch) | |
tree | 48b88570d5a7e657566d06fe74790ff51838fda8 | |
parent | f63aef26c1d4e0ffa23d123c5ddec4c13056bf8d (diff) |
tests: conntrack: ignore dot files in testdir
Got tired of having to exit the editor, before testing.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.dk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | tests/conntrack/test-conntrack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/conntrack/test-conntrack.c b/tests/conntrack/test-conntrack.c index ec66e35..cd4ba1e 100644 --- a/tests/conntrack/test-conntrack.c +++ b/tests/conntrack/test-conntrack.c @@ -34,6 +34,9 @@ int main() for (i = 0; i < n; i++) { dent = dents[i]; + if (dent->d_name[0] == '.') + continue; + sprintf(file, "testsuite/%s", dent->d_name); line = 0; |