I think this just accidentally was never enabled.
While looking at the code, add a sleep here to be resilient to
filesystems with only second mtime granularity.
test!(sysroot::itest_tmpfiles),
test!(repobin::itest_basic),
test!(repobin::itest_nofifo),
+ test!(repobin::itest_mtime),
test!(repobin::itest_extensions),
test!(repobin::itest_pull_basicauth),
];
"
)?;
let ts = Path::new("repo").metadata()?.modified().unwrap();
+ std::thread::sleep(std::time::Duration::from_secs(1));
bash!(r#"ostree --repo=repo commit -b test -s "bump mtime" --tree=dir=tmproot >/dev/null"#)?;
assert_ne!(ts, Path::new("repo").metadata()?.modified().unwrap());
Ok(())