| 1 |
|
| 2 |
# shellcheck shell=bash |
| 3 |
|
| 4 |
# For the license, see the LICENSE file in the root directory. |
| 5 |
|
| 6 |
# Some distros may not have the device |
| 7 |
if [ ! -c /dev/vtpmx ]; then |
| 8 |
if ! modprobe tpm_vtpm_proxy; then |
| 9 |
echo "Skipping test using vtpm proxy module: module not available" |
| 10 |
exit 77 |
| 11 |
fi |
| 12 |
fi |