mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-10 13:04:15 -04:00
Also test image with header
This commit is contained in:
parent
054873a2c4
commit
50ef8bcc37
@ -312,6 +312,17 @@ TEST(tools, everything) {
|
|||||||
num_hardlinks(mountpoint / "format.sh"));
|
num_hardlinks(mountpoint / "format.sh"));
|
||||||
EXPECT_TRUE(check_readonly(mountpoint / "format.sh", readonly));
|
EXPECT_TRUE(check_readonly(mountpoint / "format.sh", readonly));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args.push_back("-ooffset=auto");
|
||||||
|
|
||||||
|
{
|
||||||
|
driver_runner runner(driver, image_hdr, mountpoint, args);
|
||||||
|
|
||||||
|
ASSERT_TRUE(check_run(diff_bin, "-qruN", data_dir, mountpoint));
|
||||||
|
EXPECT_EQ(enable_nlink ? 3 : 1,
|
||||||
|
num_hardlinks(mountpoint / "format.sh"));
|
||||||
|
EXPECT_TRUE(check_readonly(mountpoint / "format.sh", readonly));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user