xref: /linux/tools/testing/selftests/memfd/run_fuse_test.sh (revision 3932b9ca55b0be314a36d3e84faff3e823c081f5)
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