projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo.
[pintos-anon]
/
grading
/
filesys
/
create.inc
diff --git
a/grading/filesys/create.inc
b/grading/filesys/create.inc
index 3e8a9b561ff316f4247e01b6ef26c6d72d26eabd..71b52fbae7842e133306b084890815a1beeec87c 100644
(file)
--- a/
grading/filesys/create.inc
+++ b/
grading/filesys/create.inc
@@
-9,6
+9,7
@@
static char buf[TEST_SIZE];
void
test_main (void)
{
void
test_main (void)
{
- check (create ("testfile", TEST_SIZE), "create testfile");
- check_file ("testfile", buf, TEST_SIZE);
+ const char *filename = "blargle";
+ CHECK (create (filename, TEST_SIZE), "create \"%s\"", filename);
+ check_file (filename, buf, TEST_SIZE);
}
}