mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-21 12:36:57 +00:00
Fix the return code indicating that the test code be skipped. We need to return 77. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
12 lines
245 B
Plaintext
12 lines
245 B
Plaintext
|
|
# For the license, see the LICENSE file in the root directory.
|
|
|
|
# Some distros may not have the device
|
|
if [ ! -c /dev/vtpmx ]; then
|
|
modprobe tpm_vtpm_proxy
|
|
if [ $? -ne 0 ]; then
|
|
echo "Skipping test using vtpm proxy module"
|
|
exit 77
|
|
fi
|
|
fi
|