chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
machined: when cloning a raw disk image, also set the NOCOW flag
[elogind.git]
/
src
/
test
/
test-copy.c
diff --git
a/src/test/test-copy.c
b/src/test/test-copy.c
index d70a0be2a22b798052073756645a18c9d02b5195..3e1607e51d53fba50cd619f65496cbb9c676ceea 100644
(file)
--- a/
src/test/test-copy.c
+++ b/
src/test/test-copy.c
@@
-44,7
+44,7
@@
static void test_copy_file(void) {
assert_se(write_string_file(fn, "foo bar bar bar foo") == 0);
assert_se(write_string_file(fn, "foo bar bar bar foo") == 0);
- assert_se(copy_file(fn, fn_copy, 0, 0644) == 0);
+ assert_se(copy_file(fn, fn_copy, 0, 0644
, 0
) == 0);
assert_se(read_full_file(fn_copy, &buf, &sz) == 0);
assert_se(streq(buf, "foo bar bar bar foo\n"));
assert_se(read_full_file(fn_copy, &buf, &sz) == 0);
assert_se(streq(buf, "foo bar bar bar foo\n"));