SmartAudio/lichee/linux-4.9/tools/testing/selftests/memfd/run_fuse_test.sh

15 lines
166 B
Bash
Raw Normal View History

2018-07-13 01:31:50 +00:00
#!/bin/sh
if test -d "./mnt" ; then
fusermount -u ./mnt
rmdir ./mnt
fi
set -e
mkdir mnt
./fuse_mnt ./mnt
./fuse_test ./mnt/memfd
fusermount -u ./mnt
rmdir ./mnt