kernel_samsung_a34x-permissive/tools/testing/selftests/memfd/run_fuse_test.sh
2024-04-28 15:49:01 +02:00

16 lines
204 B
Bash
Executable file

#!/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