Number of iteration of --test-memory is now 300 (several minutes per gigabyte). Memtest86 and Memtester links are also displayed while running the test.

This commit is contained in:
antirez
2012-03-18 17:24:48 +01:00
parent d4e6ce3e97
commit 32f62ed6d0
2 changed files with 5 additions and 3 deletions

View File

@ -2262,7 +2262,7 @@ int main(int argc, char **argv) {
strcmp(argv[1], "-h") == 0) usage();
if (strcmp(argv[1], "--test-memory") == 0) {
if (argc == 3) {
memtest(atoi(argv[2]),10000);
memtest(atoi(argv[2]),300);
exit(0);
} else {
fprintf(stderr,"Please specify the amount of memory to test in megabytes.\n");