summaryrefslogtreecommitdiff
path: root/integration_tests/defaults/subdir.test.sh
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-17 01:37:24 +0200
committerewy <ewy0@protonmail.com>2026-05-17 01:37:24 +0200
commitf5807d9f3a6c96e70912b61fac17120f412b5782 (patch)
treed6928795e06b1af000ffba2ae50bb6f8f7b72685 /integration_tests/defaults/subdir.test.sh
parent7984fd9beaa7c903288142818cb328c584a139a5 (diff)
* integration tests with a pik target to run them
* add abstraction for paths to facilitate unit tests * flesh out completion (--install-completion) * do sync init before stateless modes so list knows more
Diffstat (limited to 'integration_tests/defaults/subdir.test.sh')
-rw-r--r--integration_tests/defaults/subdir.test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/integration_tests/defaults/subdir.test.sh b/integration_tests/defaults/subdir.test.sh
new file mode 100644
index 0000000..6edd874
--- /dev/null
+++ b/integration_tests/defaults/subdir.test.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+result="$($PIK dir)"
+if [[ ! "$result" == *"apple"* ]] ; then
+ echo "expected apple" >&2
+ exit 1
+fi