]>
git.proxmox.com Git - swtpm.git/blob - tests/test_getcap
3 TESTDIR
=${abs_top_testdir:-$(dirname "$0")}
4 ROOT
=${abs_top_builddir:-$(dirname "$0")/..}
5 source ${TESTDIR}/common
6 skip_test_no_tpm12
"${SWTPM_EXE}"
10 export SWTPM_IOCTL_BUFFERSIZE
=100
11 export SWTPM_INTERFACE
=cuse
14 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
16 export SWTPM_IOCTL_BUFFERSIZE
=4096
17 export SWTPM_INTERFACE
=cuse
20 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
22 export SWTPM_INTERFACE
=socket
+socket
23 export SWTPM_SERVER_NAME
=localhost
24 export SWTPM_SERVER_PORT
=65402
25 export SWTPM_CTRL_PORT
=65403
28 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
30 export SWTPM_INTERFACE
=socket
+unix
31 export SWTPM_SERVER_NAME
=localhost
32 export SWTPM_SERVER_PORT
=65402
35 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
37 export SWTPM_INTERFACE
=unix
+unix
40 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret