path: root/t/helper/test-tool.h
diff options
authorDaniel Ferreira <>2019-07-10 23:58:57 (GMT)
committerJunio C Hamano <>2019-07-11 20:52:15 (GMT)
commit150791adbf1eb432af0b895d81eef5c2717aa6cc (patch)
tree672c58235fc45bce91789b316ce0473da36dee05 /t/helper/test-tool.h
parent36596fd2dfa473cf1069d23776e62cc156e7b5c6 (diff)
dir-iterator: add tests for dir-iterator API
Create t/helper/test-dir-iterator.c, which prints relevant information about a directory tree iterated over with dir-iterator. Create t/, which tests that dir-iterator does iterate through a whole directory tree as expected. Signed-off-by: Daniel Ferreira <> [matheus.bernardino: update to use test-tool and some minor aesthetics] Helped-by: Matheus Tavares <> Signed-off-by: Matheus Tavares <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/helper/test-tool.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index 7e703f3..ec0ffbd 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -9,6 +9,7 @@ int cmd__config(int argc, const char **argv);
int cmd__ctype(int argc, const char **argv);
int cmd__date(int argc, const char **argv);
int cmd__delta(int argc, const char **argv);
+int cmd__dir_iterator(int argc, const char **argv);
int cmd__drop_caches(int argc, const char **argv);
int cmd__dump_cache_tree(int argc, const char **argv);
int cmd__dump_fsmonitor(int argc, const char **argv);