]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - tools/testing/selftests/memfd/run_fuse_test.sh
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / tools / testing / selftests / memfd / run_fuse_test.sh
CommitLineData
87b2d440 1#!/bin/sh
b2441318 2# SPDX-License-Identifier: GPL-2.0
87b2d440
DR
3
4if test -d "./mnt" ; then
5 fusermount -u ./mnt
6 rmdir ./mnt
7fi
8
9set -e
10
11mkdir mnt
12./fuse_mnt ./mnt
13./fuse_test ./mnt/memfd
14fusermount -u ./mnt
15rmdir ./mnt