1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00
This commit is contained in:
Eelco Dolstra 2024-07-05 16:29:16 +02:00
parent 8bdd0ecd80
commit e7e070d36b
2 changed files with 16 additions and 9 deletions

View file

@ -74,7 +74,7 @@ in
assert info["revision"] == "${nixpkgs.rev}"
assert info["revCount"] == 1234
# Check that a 0-byte cached (304) result works.
# Check that a 0-byte HTTP 304 "Not modified" result works.
machine.succeed("nix flake metadata --refresh --json http://localhost/tags/latest.tar.gz")
# Check that fetching with rev/revCount/narHash succeeds.