mirror of
https://github.com/tmux/tmux.git
synced 2026-10-14 23:34:22 +00:00
Image regress tests.
This commit is contained in:
10
regress/image-common.inc
Normal file
10
regress/image-common.inc
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user