xref: /kernel/linux/linux-6.6/tools/testing/selftests/mount/run_unprivileged_remount.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/mount/
162306a36Sopenharmony_ci#!/bin/bash
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
362306a36Sopenharmony_ci# Kselftest framework requirement - SKIP code is 4.
462306a36Sopenharmony_ciksft_skip=4
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci# Run mount selftests
762306a36Sopenharmony_ciif [ -f /proc/self/uid_map ] ; then
862306a36Sopenharmony_ci	./unprivileged-remount-test ;
962306a36Sopenharmony_cielse
1062306a36Sopenharmony_ci	echo "WARN: No /proc/self/uid_map exist, test skipped." ;
1162306a36Sopenharmony_ci	exit $ksft_skip
1262306a36Sopenharmony_cifi
13

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