X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Ffilesys%2Fgrow-tell.c;h=672786abf49f0d967e3134630d0797f026ee2b6c;hb=b4f489ab73a6b097fcc391bc6f18640662b5398e;hp=4f9d51766c08b155068e48b9c46e581d728aa626;hpb=6ebce2100b371612b554bf17a3ce613a4093df37;p=pintos-anon diff --git a/grading/filesys/grow-tell.c b/grading/filesys/grow-tell.c index 4f9d517..672786a 100644 --- a/grading/filesys/grow-tell.c +++ b/grading/filesys/grow-tell.c @@ -21,11 +21,10 @@ check_tell (int fd, long ofs) ofs, pos); } -int -main (void) +void +test_main (void) { - msg ("begin"); - seq_test ("foobar", buf, sizeof buf, 0, 1, return_block_size, check_tell); - msg ("end"); - return 0; + seq_test ("foobar", + buf, sizeof buf, 0, + return_block_size, check_tell); }