187b2d440SDavid Herrmann#!/bin/sh 2b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 387b2d440SDavid Herrmann 487b2d440SDavid Herrmannif test -d "./mnt" ; then 587b2d440SDavid Herrmann fusermount -u ./mnt 687b2d440SDavid Herrmann rmdir ./mnt 787b2d440SDavid Herrmannfi 887b2d440SDavid Herrmann 987b2d440SDavid Herrmannset -e 1087b2d440SDavid Herrmann 1187b2d440SDavid Herrmannmkdir mnt 1287b2d440SDavid Herrmann./fuse_mnt ./mnt 13c5c63835SMarc-André Lureau./fuse_test ./mnt/memfd $@ 1487b2d440SDavid Herrmannfusermount -u ./mnt 1587b2d440SDavid Herrmannrmdir ./mnt 16