treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / mount / run_tests.sh
blob4ab8f507dcba8dca53fca8aad21887be9ac1c82d
1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Kselftest framework requirement - SKIP code is 4.
4 ksft_skip=4
6 # Run mount selftests
7 if [ -f /proc/self/uid_map ] ; then
8 ./unprivileged-remount-test ;
9 else
10 echo "WARN: No /proc/self/uid_map exist, test skipped." ;
11 exit $ksft_skip