projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a50b2ab
)
Don't hardcode test file name.
author
Nikolaus Rath
<Nikolaus@rath.org>
Mon, 7 Nov 2016 05:00:57 +0000
(21:00 -0800)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Mon, 7 Nov 2016 05:01:38 +0000
(21:01 -0800)
test/test_write_cache.c
patch
|
blob
|
history
diff --git
a/test/test_write_cache.c
b/test/test_write_cache.c
index 137cb8d9c726b11a5bc7aacdc62b792effb595b7..fa8032735c11a703064b2174d348db17cc6a806e 100644
(file)
--- a/
test/test_write_cache.c
+++ b/
test/test_write_cache.c
@@
-160,7
+160,7
@@
static void test_fs(char *mountpoint) {
assert(read(fd, buf, dsize) == dsize);
close(fd);
- assert(snprintf(fname, PATH_MAX, "%s/
write_me"
,
+ assert(snprintf(fname, PATH_MAX, "%s/
" FILE_NAME
,
mountpoint) > 0);
fd = open(fname, O_WRONLY);
if (fd == -1) {