From 372b0d7d38ac51b0def262f653e1a3ff2e582236 Mon Sep 17 00:00:00 2001 From: Koichi Nakashima Date: Sat, 20 Jul 2019 22:59:07 +0900 Subject: [PATCH] update --- contrib/various_test.sh | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/contrib/various_test.sh b/contrib/various_test.sh index aae6dba7..0cc1df9d 100755 --- a/contrib/various_test.sh +++ b/contrib/various_test.sh @@ -4,13 +4,19 @@ set -eu : "${SH:=sh}" -$SH shellspec --banner -$SH shellspec --no-banner --skip-message quiet -j 3 -$SH shellspec --no-banner --skip-message quiet $($SH shellspec --list specfiles | head -n 5) -$SH shellspec --no-banner --skip-message quiet $($SH shellspec --list examples:lineno | head -n 5) -$SH shellspec --no-banner --skip-message quiet spec/general_spec.sh:40:60:80:100 -$SH shellspec --no-banner --skip-message quiet --profile -$SH shellspec --syntax-check -$SH shellspec --count -$SH shellspec --task -$SH shellspec --task hello:shellspec +shellspec() { + set -- "$SH" shellspec --shell "$SH" "$@" + echo "# $@" + "$@" +} + +shellspec --banner +shellspec --no-banner --skip-message quiet -j 3 +shellspec --no-banner --skip-message quiet $($SH shellspec --list specfiles | head -n 5) +shellspec --no-banner --skip-message quiet $($SH shellspec --list examples:lineno | head -n 5) +shellspec --no-banner --skip-message quiet spec/general_spec.sh:40:60:80:100 +shellspec --no-banner --skip-message quiet --profile +shellspec --syntax-check +shellspec --count +shellspec --task +shellspec --task hello:shellspec