File: utf8test

package info (click to toggle)
jq 1.8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,852 kB
  • sloc: ansic: 28,064; yacc: 888; sh: 841; python: 316; cpp: 314; lex: 192; makefile: 181; javascript: 34
file content (10 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

. "${0%/*}/setup" "$@"

if [ "$($VALGRIND $Q $JQ -nf $JQTESTDIR/utf8-truncate.jq)" != "true" ]; then
	echo "UTF-8 byte sequences that span the jv_load_file read buffer are mangled"
	exit 1
fi

exit 0