Sign in
android-kvm
/
linux
/
bbef3c7a63d2a4cb0f3f839db9e767f168c5e348
/
.
/
tools
/
testing
/
selftests
/
memfd
/
run_fuse_test.sh
blob: 22e572e2d66abdc31fe6127b4d6176046760eb2a [
file
] [
log
] [
blame
]
#!/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