summaryrefslogtreecommitdiff
path: root/test-read-cache.c
blob: b25bcf139b2bf61292eb9910cb4f92d8ce7763bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "cache.h"
 
int main (int argc, char **argv)
{
	int i, cnt = 1;
	if (argc == 2)
		cnt = strtol(argv[1], NULL, 0);
	for (i = 0; i < cnt; i++) {
		read_cache();
		discard_cache();
	}
	return 0;
}