Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux-2.6-microblaze.git] / tools / testing / selftests / memfd / run_fuse_test.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3
4 if test -d "./mnt" ; then
5         fusermount -u ./mnt
6         rmdir ./mnt
7 fi
8
9 set -e
10
11 mkdir mnt
12 ./fuse_mnt ./mnt
13 ./fuse_test ./mnt/memfd $@
14 fusermount -u ./mnt
15 rmdir ./mnt