summaryrefslogtreecommitdiff
path: root/lib/path
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-07-19 16:34:36 +0200
committerGitHub <noreply@github.com>2023-07-19 16:34:36 +0200
commit0665253b864c4b725c19337b2b1971158f55b16f (patch)
treef4cc62995896cecf412e63daab21ee12ef7829f8 /lib/path
parentMerge pull request #244339 from bjornfor/retroarch-auto-detect-joypads (diff)
parentlib/tests: Unify documentation of individual testable files (diff)
downloadnixpkgs-0665253b864c4b725c19337b2b1971158f55b16f.tar.gz
Merge pull request #244044 from tweag/lib-readme
Create a Readme in `lib`
Diffstat (limited to 'lib/path')
-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 9fea52157783..f321fdf1cf45 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