blob: a11dbd145f64ce10c64c09fa641826e42ff94901 [file] [log] [blame]
#!/usr/bin/env bash
cd "$(dirname "$0")"
export SWTPM_IFACE=cuse
bash _test_tpm2_print_capabilities
ret=$?
[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
export SWTPM_IFACE=socket
bash _test_tpm2_print_capabilities
ret=$?
[ $ret -ne 0 ] && [ $ret -ne 77 ] && exit $ret
exit 0