1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 22:05:31 +03:00
fq/pkg/interp/testjq.sh
2021-11-12 00:23:16 +01:00

12 lines
151 B
Bash
Executable File

#!/bin/sh
# help script to run jq tests
set -eu
FQ="$1"
shift
for f in "$@"; do
echo "testjq $f"
"$FQ" -nr -L "$(dirname "$f")" -f "$f"
done