Userland changes for test161/assignment 3.

This commit is contained in:
Scott Haseley
2016-04-06 13:53:21 -04:00
parent 194f76ef70
commit fedf80f599
9 changed files with 180 additions and 83 deletions

View File

@@ -38,6 +38,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <test161/test161.h>
/*
* SIZE is the amount of memory used.
@@ -90,12 +91,11 @@ main(int argc, char **argv)
*/
e = &array[0];
for (i=0; i<SIZE; i++) {
if (i % stride == 0) {
putchar('.');
}
TEST161_LPROGRESS(i, stride);
e = e->e;
}
tprintf("\nDone!\n");
// Success is not crashing
success(TEST161_SUCCESS, SECRET, "/testbin/ctest");
return 0;
}