File: load_vtpm_proxy

package info (click to toggle)
swtpm 0.10.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,008 kB
  • sloc: ansic: 20,787; sh: 14,667; makefile: 760; python: 173
file content (12 lines) | stat: -rw-r--r-- 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12

# shellcheck shell=bash

# For the license, see the LICENSE file in the root directory.

# Some distros may not have the device
if [ ! -c /dev/vtpmx ]; then
	if ! modprobe tpm_vtpm_proxy; then
		echo "Skipping test using vtpm proxy module: module not available"
		exit 77
	fi
fi