Moved some functions into kern/testing
[akaros.git] / user / testbss.c
index ac83e18..f5c22c2 100644 (file)
@@ -22,6 +22,8 @@ umain(void)
                        panic("bigarray[%d] didn't hold its value!\n", i);
 
        cprintf("Yes, good.  Now doing a wild write off the end...\n");
+       { TRUSTEDBLOCK
        bigarray[ARRAYSIZE+1024] = 0;
+       }
        panic("SHOULD HAVE TRAPPED!!!");
 }