mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-14 21:18:29 +00:00
Skip the CUSE TPM related tests if the CUSE kernel module is not available. Return similar error messages for both CUSE and VTPM proxy module if they are not available. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
11 lines
210 B
Plaintext
11 lines
210 B
Plaintext
|
|
# For the license, see the LICENSE file in the root directory.
|
|
|
|
if [ ! -c /dev/cuse ]; then
|
|
modprobe cuse
|
|
if [ $? -ne 0 ]; then
|
|
echo "Skipping test using CUSE module: module not availabe"
|
|
exit 77
|
|
fi
|
|
fi
|