mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-10 04:50:31 -04:00
test(dwarfs): add cache tidying options to tools test
This commit is contained in:
parent
fea0352f67
commit
80dc5b0c8e
@ -766,6 +766,7 @@ TEST_P(tools_test, end_to_end) {
|
|||||||
"-omlock=try",
|
"-omlock=try",
|
||||||
"-ono_cache_image",
|
"-ono_cache_image",
|
||||||
"-ocache_files",
|
"-ocache_files",
|
||||||
|
"-otidy_strategy=time",
|
||||||
};
|
};
|
||||||
|
|
||||||
unicode_symlink = mountpoint / unicode_symlink_name;
|
unicode_symlink = mountpoint / unicode_symlink_name;
|
||||||
@ -883,6 +884,9 @@ TEST_P(tools_test, end_to_end) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
args.push_back("-otidy_interval=1s");
|
||||||
|
args.push_back("-otidy_max_age=2s");
|
||||||
|
|
||||||
{
|
{
|
||||||
driver_runner runner(driver, mode == binary_mode::universal_tool, image,
|
driver_runner runner(driver, mode == binary_mode::universal_tool, image,
|
||||||
mountpoint, args);
|
mountpoint, args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user