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