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