X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/865a86083719cb69f158940eaf5bad95d4cae714..9fad4d7ae54232c20df3ea2d874c2483aaca6c3c:/t/regress.t?ds=sidebyside diff --git a/t/regress.t b/t/regress.t index 2293efa..6a95a9f 100755 --- a/t/regress.t +++ b/t/regress.t @@ -30,7 +30,7 @@ for candidate in ${@:-t*.out} do test_count=$((test_count+1)) file="${candidate%.out}" - input="$file.in" + input="${file%%_-*}.in" name="$(echo ${file#*-} | tr _ \ )" set -- barcat @@ -38,7 +38,7 @@ do case "$name" in *\ -*) set -- "$@" -"${name#* -}";; esac case "$name" in *' |'*) set -- sh -c "\$0 \$1 | ${name#* |}" "$@";; - *) set -- "$1" "$2" $3 + *) set -- "$1" $2 $3 esac if test -n "$regenerate"