diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-08 19:15:49 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-08 23:13:45 +0100 |
commit | f2068bcce01db31cdc9422f44185f3b49c04d2ce (patch) | |
tree | fd5f6ddf9b0c36e9deb24252267d5ecce0cb2fe3 /src/test/test-copy.c | |
parent | man: bring machinectl man page up-to-date (diff) | |
download | systemd-f2068bcce01db31cdc9422f44185f3b49c04d2ce.tar.gz systemd-f2068bcce01db31cdc9422f44185f3b49c04d2ce.tar.bz2 systemd-f2068bcce01db31cdc9422f44185f3b49c04d2ce.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-copy.c b/src/test/test-copy.c index d70a0be2a..3e1607e51 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")); |