xref: /kernel/linux/linux-6.6/tools/testing/selftests/memfd/run_fuse_test.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/memfd/
162306a36Sopenharmony_ci#!/bin/sh
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciif test -d "./mnt" ; then
562306a36Sopenharmony_ci	fusermount -u ./mnt
662306a36Sopenharmony_ci	rmdir ./mnt
762306a36Sopenharmony_cifi
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciset -e
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cimkdir mnt
1262306a36Sopenharmony_ci./fuse_mnt ./mnt
1362306a36Sopenharmony_ci./fuse_test ./mnt/memfd $@
1462306a36Sopenharmony_cifusermount -u ./mnt
1562306a36Sopenharmony_cirmdir ./mnt
16

Indexes created Thu Nov 07 10:32:03 CST 2024