1
1
mirror of https://github.com/wader/fq.git synced 2024-12-01 02:30:32 +03:00
fq/pkg/interp/testjq.sh

12 lines
151 B
Bash
Raw Normal View History

#!/bin/sh
2021-11-08 15:45:55 +03:00
# help script to run jq tests
set -eu
FQ="$1"
shift
for f in "$@"; do
2021-09-19 12:58:37 +03:00
echo "testjq $f"
"$FQ" -nr -L "$(dirname "$f")" -f "$f"
done