summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/memfd/run_fuse_test.sh
blob: 407df68dfe27b4fdc4d2924704876fd6ef75dd48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

if test -d "./mnt" ; then
	fusermount -u ./mnt
	rmdir ./mnt
fi

set -e

mkdir mnt
./fuse_mnt ./mnt
./fuse_test ./mnt/memfd
fusermount -u ./mnt
rmdir ./mnt
OpenPOWER on IntegriCloud