From: Ben Pfaff Date: Wed, 4 Jan 2006 21:51:59 +0000 (+0000) Subject: Don't check return value of write(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d86d39cd5c3d8333149089d266a6ddf65f593cd0;p=pintos-anon Don't check return value of write(). --- diff --git a/src/tests/filesys/extended/grow-too-big.c b/src/tests/filesys/extended/grow-too-big.c index 5edcf95..9d7ddca 100644 --- a/src/tests/filesys/extended/grow-too-big.c +++ b/src/tests/filesys/extended/grow-too-big.c @@ -14,7 +14,8 @@ test_main (void) CHECK ((fd = open (filename)) > 1, "open \"%s\"", filename); msg ("seek \"%s\"", filename); seek (fd, UINT_MAX); - CHECK (write (fd, &zero, 1) > 0, "write \"%s\"", filename); + msg ("write \"%s\"", filename); + write (fd, &zero, 1); msg ("close \"%s\"", filename); close (fd); }