summaryrefslogtreecommitdiff
path: root/lib/path/tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/path/tests')
-rwxr-xr-xlib/path/tests/prop.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/path/tests/prop.sh b/lib/path/tests/prop.sh
index e48c6667fa08..d6021cfcd5fe 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