16 lines
201 B
Bash
16 lines
201 B
Bash
|
#!/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
|