projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8da7bb
)
Don't check return value of write().
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Jan 2006 21:51:59 +0000
(21:51 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Jan 2006 21:51:59 +0000
(21:51 +0000)
src/tests/filesys/extended/grow-too-big.c
patch
|
blob
|
history
diff --git
a/src/tests/filesys/extended/grow-too-big.c
b/src/tests/filesys/extended/grow-too-big.c
index 5edcf955a1eefa1350f2f64be8a59b2235b2036d..9d7ddca75f423ec3619481ca54d864400b94ad61 100644
(file)
--- 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);
}