libvips/test
John Cupitt eba9ec0dd7
Add a way to disable less well tested operations (#2636)
* quick proposal

warn on startup if untrusted operations might run

use vips_block_untrusted_set() to block untrusted operations, set an env
var or make a file to stop the warning

* mark fits, nifti and svg as untrusted

* remove the annoying "untrusted" warning message

better to warn on the download page

leave vips_block_untrusted_set() since it's obviously useful

* separate UNTRUSTED and BLOCKED

* typos

* add VIPS_BLOCK_UNTRUSTED env var

* move BLOCK_UNTRUSTED after plugin load

obviously, ooops

* add a test, disable *magick

although *magick is fuzzed, it's probably safer to disable it in
untrusted environments

* mark some more operations as untrusted
2022-04-11 11:32:32 +01:00
..
test-suite revise tests for new libnsgif loop behaviour 2022-03-09 10:20:41 +00:00
.gitignore Update function list for stream -> source rename 2020-01-01 12:28:18 +01:00
Makefile.am experiment with renaming stream 2019-12-29 21:40:21 +00:00
meson.build longer timeout for tests 2022-02-19 16:06:29 +00:00
README.md vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_cli.sh add a test for vipsthumbnail of stdin/stdout 2020-10-04 16:14:13 +01:00
test_connections.c fix two small bugs in test_connections.c 2020-10-27 15:11:29 +00:00
test_connections.sh Update function list for stream -> source rename 2020-01-01 12:28:18 +01:00
test_descriptors.c CI: resolve failures and various improvements (#2426) 2021-09-07 11:14:45 +01:00
test_descriptors.sh make check passes after stream -> source rename 2019-12-30 12:48:20 +00:00
test_formats.sh Add a way to disable less well tested operations (#2636) 2022-04-11 11:32:32 +01:00
test_seq.sh argh reapply seq removal 2017-03-06 11:55:38 +00:00
test_stall.sh "squash" to tiffsave now does lab as well 2019-12-18 17:29:34 +00:00
test_threading.sh LSan improvements and fixes (#2672) 2022-02-19 15:13:42 +00:00
test_thumbnail.sh fix thumbnail with cmyk output 2022-03-11 16:21:12 +00:00
variables.sh.in Fix tests when using a separate build dir. (#2405) 2021-08-18 11:45:02 +01:00

libvips test suite

This is in two parts: a few simple bash scripts in this directory are run on "make check", and a fancier Python test suite that's run by Travis on each commit.