mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
10 lines
170 B
Bash
Executable File
10 lines
170 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if which valgrind > /dev/null; then
|
|
VALGRIND='valgrind --error-exitcode=1 -q --leak-check=full'
|
|
else
|
|
VALGRIND=
|
|
fi
|
|
|
|
cat $@ | $VALGRIND ./jq --run-tests
|