merge: small leakfix and code simplification
[alt-git.git] / test-read-cache.c
blobb25bcf139b2bf61292eb9910cb4f92d8ce7763bd
1 #include "cache.h"
3 int main (int argc, char **argv)
5 int i, cnt = 1;
6 if (argc == 2)
7 cnt = strtol(argv[1], NULL, 0);
8 for (i = 0; i < cnt; i++) {
9 read_cache();
10 discard_cache();
12 return 0;