WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / memfd / run_fuse_test.sh
blob22e572e2d66abdc31fe6127b4d6176046760eb2a
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
4 if test -d "./mnt" ; then
5 fusermount -u ./mnt
6 rmdir ./mnt
7 fi
9 set -e
11 mkdir mnt
12 ./fuse_mnt ./mnt
13 ./fuse_test ./mnt/memfd $@
14 fusermount -u ./mnt
15 rmdir ./mnt