From 7abb348ae078f08bf5282bfe0b25531b8bba3a83 Mon Sep 17 00:00:00 2001 From: Koichi Nakashima Date: Sun, 23 Feb 2020 06:51:49 +0900 Subject: [PATCH] Include as the test file specified file by arguments --- shellspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shellspec b/shellspec index 89c15b46..0faca1d0 100755 --- a/shellspec +++ b/shellspec @@ -479,6 +479,9 @@ case $SHELLSPEC_MODE in (runner | list) SHELLSPEC_SEED=$(( ($SHELLSPEC_UNIXTIME * $$ / 7 + $$) % 100000)) info "Randomized with seed $SHELLSPEC_SEED" >&2 fi + for file; do + SHELLSPEC_PATTERN="$SHELLSPEC_PATTERN|$file" + done esac if [ "$SHELLSPEC_ENV_FROM" ]; then