]> git.proxmox.com Git - swtpm.git/blame - tests/test_wrongorder
tests: Apply patches to IBM TSS2 test suite
[swtpm.git] / tests / test_wrongorder
CommitLineData
8f0f381f 1#!/usr/bin/env bash
e46a2b66 2
01aa2ed3
SB
3cd "$(dirname "$0")"
4
5export SWTPM_IOCTL_BUFFERSIZE=100
6export SWTPM_INTERFACE=cuse
7bash _test_wrongorder
8ret=$?
9[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
10
11export SWTPM_IOCTL_BUFFERSIZE=4096
12export SWTPM_INTERFACE=cuse
13bash _test_wrongorder
14ret=$?
15[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
16
17export SWTPM_INTERFACE=socket+socket
18export SWTPM_SERVER_NAME=localhost
19export SWTPM_SERVER_PORT=65422
20export SWTPM_CTRL_PORT=65423
21bash _test_wrongorder
22ret=$?
23[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
24
25export SWTPM_INTERFACE=socket+unix
26export SWTPM_SERVER_NAME=localhost
27export SWTPM_SERVER_PORT=65422
28bash _test_wrongorder
29ret=$?
30[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
31
32export SWTPM_INTERFACE=unix+unix
33bash _test_wrongorder
34ret=$?
35[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
e46a2b66
SB
36
37exit 0