summaryrefslogtreecommitdiffstats
path: root/tests/stateless-journey.sh
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2022-05-12 07:59:58 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2022-05-12 07:59:58 +0800
commit05e61a65e318694cfb2b98f9566bff817090d741 (patch)
tree647828370947cc296d8f41c6f9020571c6a4efd9 /tests/stateless-journey.sh
parent1f852ed5afd118d1f4804baf0574189f4d1f0b42 (diff)
record status quo (#124)
Diffstat (limited to 'tests/stateless-journey.sh')
-rwxr-xr-xtests/stateless-journey.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/stateless-journey.sh b/tests/stateless-journey.sh
index c5a11bd..bc6d0c9 100755
--- a/tests/stateless-journey.sh
+++ b/tests/stateless-journey.sh
@@ -65,6 +65,13 @@ WITH_FAILURE=1
expect_run ${SUCCESSFULLY} "$exe" aggregate --stats . . dir ./dir/ ./dir/sub
}
)
+ (with "a broken link in multiple roots"
+ ln -s not-present broken-link
+ it "fails but lists valid paths" && {
+ WITH_SNAPSHOT="$snapshot/success-no-arguments-multiple-input-paths-one-broken-link" \
+ expect_run ${WITH_FAILURE} "$exe" aggregate --stats . dir broken-link ./dir/sub
+ }
+ )
)
(when "specifying no subcommand"
it "produces a human-readable aggregate" && {