Revision e6c1c391a86302a53e0eab44dc5bb597c96a87fb authored by Ralf Thielow on 20 November 2014, 06:15:15 UTC, committed by Ralf Thielow on 20 November 2014, 06:16:18 UTC
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
1 parent 388a439
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