t7501: add test of "commit --dry-run --short"
[gitweb.git] / t / helper / test-tool.c
index 5176f9f20ae6ff3e09c3793844d6482d94116f70..0edafcfd65db7586bc1521d2e1afa99fbde50292 100644 (file)
@@ -19,6 +19,7 @@ static struct test_cmd cmds[] = {
        { "genrandom", cmd__genrandom },
        { "hashmap", cmd__hashmap },
        { "index-version", cmd__index_version },
+       { "json-writer", cmd__json_writer },
        { "lazy-init-name-hash", cmd__lazy_init_name_hash },
        { "match-trees", cmd__match_trees },
        { "mergesort", cmd__mergesort },
@@ -29,6 +30,7 @@ static struct test_cmd cmds[] = {
        { "read-cache", cmd__read_cache },
        { "ref-store", cmd__ref_store },
        { "regex", cmd__regex },
+       { "repository", cmd__repository },
        { "revision-walking", cmd__revision_walking },
        { "run-command", cmd__run_command },
        { "scrap-cache-tree", cmd__scrap_cache_tree },
@@ -47,7 +49,6 @@ static struct test_cmd cmds[] = {
 int cmd_main(int argc, const char **argv)
 {
        int i;
-       extern int BUG_exit_code;
 
        BUG_exit_code = 99;
        if (argc < 2)