Revision 9c70e2c105f9c4b4708af6ae25d2678929b3d61d authored by Junio C Hamano on 12 November 2014, 20:13:25 UTC, committed by Junio C Hamano on 12 November 2014, 20:13:25 UTC
2 parent s bbebdc1 + 7fa1365
Raw File
test-read-cache.c
#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;
}
back to top