File: test_connections.sh

package info (click to toggle)
vips 8.17.3-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 52,228 kB
  • sloc: ansic: 169,684; cpp: 12,156; python: 4,887; sh: 733; perl: 40; makefile: 25; javascript: 6
file content (17 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# test load and save via custom connection

# set -x
set -e

. ./variables.sh

if test_supported jpegload_source; then
	./test_connections $image $tmp/x.png

	# test max difference < 10
	test_difference $image $tmp/x.png 10
else
	exit 77
fi