run_fuse_test.sh 204 字节
Newer Older
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3 4 5 6 7 8 9 10 11 12

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

set -e

mkdir mnt
./fuse_mnt ./mnt
13
./fuse_test ./mnt/memfd $@
14 15
fusermount -u ./mnt
rmdir ./mnt