From 581d7c88bea4216fb47c2a98f38af59f2d14485d Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 18 Jul 2023 17:20:28 +0200 Subject: lib/tests: Unify documentation of individual testable files --- lib/path/tests/prop.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/path') 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 -- cgit 1.4.1