summaryrefslogtreecommitdiff
path: root/src/test/test-copy.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-08 19:15:49 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-08 23:13:45 +0100
commitf2068bcce01db31cdc9422f44185f3b49c04d2ce (patch)
treefd5f6ddf9b0c36e9deb24252267d5ecce0cb2fe3 /src/test/test-copy.c
parente45fc5e738b0b7700e8b4f3c4b25c58a49b44b27 (diff)
machined: when cloning a raw disk image, also set the NOCOW flag
Diffstat (limited to 'src/test/test-copy.c')
-rw-r--r--src/test/test-copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-copy.c b/src/test/test-copy.c
index d70a0be2a2..3e1607e51d 100644
--- 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(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"));