1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/tests/functional/git/meson.build
Farid Zakaria 48083028ac Add a test case for failing git cache
builtins.fetchGit is not using the cached Git directory if
packed-references are used.

This is because the ref file for the fetchGit `refs/heads/master` is
used to check the mtime for whether to cache or not.

Let's at least codify this failure in a test case.
2025-07-22 02:52:53 +03:00

6 lines
132 B
Meson

suites += {
'name' : 'git',
'deps' : [],
'tests' : [ 'packed-refs-no-cache.sh' ],
'workdir' : meson.current_source_dir(),
}