swtpm/tests/test_cuse
Stefan Berger 96038cdfec tests: move modprobe cuse into common file
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-12-13 21:23:12 -05:00

10 lines
147 B
Plaintext

# For the license, see the LICENSE file in the root directory.
if [ ! -c /dev/cuse ]; then
modprobe cuse
if [ $? -ne 0 ]; then
exit 1
fi
fi