xref: /linux/tools/testing/selftests/memfd/run_fuse_test.sh (revision 0883c2c06fb5bcf5b9e008270827e63c09a88c1e)
1#!/bin/sh
2
3if test -d "./mnt" ; then
4	fusermount -u ./mnt
5	rmdir ./mnt
6fi
7
8set -e
9
10mkdir mnt
11./fuse_mnt ./mnt
12./fuse_test ./mnt/memfd
13fusermount -u ./mnt
14rmdir ./mnt
15