summaryrefslogtreecommitdiffstats
path: root/tests/stateless-journey.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stateless-journey.sh')
-rwxr-xr-xtests/stateless-journey.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/stateless-journey.sh b/tests/stateless-journey.sh
index 5625035..6c112b7 100755
--- a/tests/stateless-journey.sh
+++ b/tests/stateless-journey.sh
@@ -44,7 +44,7 @@ WITH_FAILURE=1
(with "no option to adjust the total"
it "produces a human-readable aggregate, with total" && {
WITH_SNAPSHOT="$snapshot/success-no-arguments-multiple-input-paths" \
- expect_run ${SUCCESSFULLY} "$exe" aggregate . . dir ./dir/ ./dir/sub
+ expect_run ${SUCCESSFULLY} "$exe" a . . dir ./dir/ ./dir/sub
}
)
(with "the --no-total option set"
@@ -96,4 +96,10 @@ WITH_FAILURE=1
)
)
)
+ (with "interactive mode"
+ it "fails as there is no TTY connected" && {
+ WITH_SNAPSHOT="$snapshot/failure-interactive-without-tty" \
+ expect_run ${WITH_FAILURE} "$exe" i
+ }
+ )
)