Image regress tests.

This commit is contained in:
Nicholas Marriott
2026-10-14 12:44:53 +01:00
parent 1e294b175f
commit 1de5f662cb
29 changed files with 2014 additions and 13 deletions

10
regress/image-common.inc Normal file
View File

@@ -0,0 +1,10 @@
# Check server image support. Exit 101 to tell the runner to skip this test.
image_check_support()
{
support=$("$@" display-message -p '#{image_support}') || exit 1
case "$support" in
1) return ;;
0) exit 101 ;;
*) echo "unexpected image_support: $support" >&2; exit 1 ;;
esac
}