mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 17:04:50 +00:00
29 lines
602 B
Bash
Executable file
29 lines
602 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# ================================================================
|
|
# COMMAND-LINE TESTS
|
|
# ================================================================
|
|
|
|
runner="bash"
|
|
if [ "$1" = "-v" ]; then
|
|
set -x
|
|
runner="bash -x"
|
|
fi
|
|
|
|
set -euo pipefail
|
|
|
|
$runner u/try-io > u/try-io.out
|
|
$runner u/try-chain > u/try-chain.out
|
|
$runner u/try-verbs > u/try-verbs.out
|
|
$runner u/try-help > u/try-help.out
|
|
$runner u/try-parse > u/try-parse.out
|
|
$runner u/try-cst > u/try-cst.out
|
|
|
|
git diff \
|
|
u/try-io.out \
|
|
u/try-chain.out \
|
|
u/try-verbs.out \
|
|
u/try-parse.out \
|
|
u/try-cst.out
|
|
|
|
echo "Test OK"
|