diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-07-18 17:20:28 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-07-18 17:22:45 +0200 |
commit | 581d7c88bea4216fb47c2a98f38af59f2d14485d (patch) | |
tree | f954f31b7bac5fb2681c0d19552dab3272303a1b /lib/path/tests | |
parent | 03431f1244a92659cf26a1b6e40de5db00c5e310 (diff) |
lib/tests: Unify documentation of individual testable files
Diffstat (limited to 'lib/path/tests')
-rwxr-xr-x | lib/path/tests/prop.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/path/tests/prop.sh b/lib/path/tests/prop.sh index e48c6667fa08f..d6021cfcd5fe2 100755 --- a/lib/path/tests/prop.sh +++ b/lib/path/tests/prop.sh @@ -1,9 +1,12 @@ #!/usr/bin/env bash -# Property tests for the `lib.path` library -# +# Property tests for lib/path/default.nix # It generates random path-like strings and runs the functions on # them, checking that the expected laws of the functions hold +# Run: +# [nixpkgs]$ lib/path/tests/prop.sh +# or: +# [nixpkgs]$ nix-build lib/tests/release.nix set -euo pipefail shopt -s inherit_errexit |