From f2068bcce01db31cdc9422f44185f3b49c04d2ce Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Jan 2015 19:15:49 +0100 Subject: machined: when cloning a raw disk image, also set the NOCOW flag --- src/test/test-copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test-copy.c') 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")); -- cgit v1.2.3