5 export SWTPM_IOCTL_BUFFERSIZE
=100
6 export SWTPM_INTERFACE
=cuse
7 bash _test_tpm2_swtpm_bios
9 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
11 export SWTPM_IOCTL_BUFFERSIZE
=4096
12 export SWTPM_INTERFACE
=cuse
13 bash _test_tpm2_swtpm_bios
15 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
17 export SWTPM_INTERFACE
=socket
+socket
18 export SWTPM_SERVER_NAME
=localhost
19 export SWTPM_SERVER_PORT
=65520
20 export SWTPM_CTRL_PORT
=65521
21 bash _test_tpm2_swtpm_bios
23 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
25 export SWTPM_INTERFACE
=socket
+unix
26 export SWTPM_SERVER_NAME
=localhost
27 export SWTPM_SERVER_PORT
=65520
28 bash _test_tpm2_swtpm_bios
30 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
32 export SWTPM_INTERFACE
=unix
+unix
33 bash _test_tpm2_swtpm_bios
35 [ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret