Nix/src/libstore/tests
edef 24bda0c7b3 StorePath: reject names starting with '.'
This has been the behaviour before Nix 2.4. It was dropped in a rewrite
in 759947bf72, allowing the creation of
store paths that aren't considered valid by older Nix versions or other
Nix tooling.

Nix 2.4 didn't ship in NixOS until 22.05, and stdenv.mkDerivation in
nixpkgs drops leading periods since April 2022, so it's unlikely anyone
is relying on the current lax behaviour.

Closes #9091.

Change-Id: I4a57bd9899e1b0dba56870ae5a1b680918a18ce9
2023-10-04 22:10:52 +00:00
..
test-data Add error reporting to machine spec paser 2021-10-17 12:45:56 +04:00
derivation.cc Allow dynamic derivation deps in `inputDrvs` 2023-09-07 10:39:37 -04:00
derived-path.cc Disable rapidcheck tests in the coverage run 2023-09-19 16:04:00 +02:00
derived-path.hh Make the Derived Path family of types inductive for dynamic derivations 2023-08-10 00:08:32 -04:00
downstream-placeholder.cc Feature gate `DownstreamPlaceholder::unknownCaOutput` 2023-07-13 07:56:33 -04:00
libstore.hh Ensure all headers have `#pragma once` and are in API docs 2023-03-31 23:19:44 -04:00
local.mk More property tests 2023-01-29 17:09:59 -05:00
machines.cc Add error reporting to machine spec paser 2021-10-17 12:45:56 +04:00
nar-info-disk-cache.cc NarInfoDiskCache: Also test id consistency with updated fields 2023-02-07 23:34:36 +01:00
outputs-spec.cc Disable rapidcheck tests in the coverage run 2023-09-19 16:04:00 +02:00
outputs-spec.hh Ensure all headers have `#pragma once` and are in API docs 2023-03-31 23:19:44 -04:00
path.cc StorePath: reject names starting with '.' 2023-10-04 22:10:52 +00:00
path.hh Ensure all headers have `#pragma once` and are in API docs 2023-03-31 23:19:44 -04:00
references.cc Add a test for RefScanSink and clean up the code 2021-10-04 14:29:42 +02:00
worker-protocol.cc Unit test some worker protocol serializers 2023-09-05 10:48:02 -04:00