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