summaryrefslogtreecommitdiff
path: root/test/end-to-end/cli/build-p.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/cli/build-p.sh')
-rw-r--r--test/end-to-end/cli/build-p.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/end-to-end/cli/build-p.sh b/test/end-to-end/cli/build-p.sh
index 9a829fe7..0da9179a 100644
--- a/test/end-to-end/cli/build-p.sh
+++ b/test/end-to-end/cli/build-p.sh
@@ -44,6 +44,9 @@ cat out.json
# Requesting foo/bar gives a human-readable description of the tree
"${JUST}" build -L '["env", "PATH='"${PATH}"'"]' --local-build-root "${BUILDROOT}" -P foo/bar | grep baz
+# ... and so does asking for the unique artifact
+"${JUST}" build -L '["env", "PATH='"${PATH}"'"]' --local-build-root "${BUILDROOT}" -p | grep baz
+
# going deepter into the tree we stil can get human-readable tree descriptions
"${JUST}" build -L '["env", "PATH='"${PATH}"'"]' --local-build-root "${BUILDROOT}" -P foo/bar/baz/greeting | grep hello.txt