Files
linux/tools/testing/selftests/memfd/run_fuse_test.sh
T
Marc-André Lureau c5c63835e5 memfd-test: run fuse test on hugetlb backend memory
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Marc-André Lureau <[email protected]>
Suggested-by: Mike Kravetz <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: David Herrmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2018-01-31 17:18:39 -08: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