blob: e9bd6c8830e44378fb156e0157e951632813924a [file] [log] [blame]
#!/bin/sh
#
# This test performs capability tests for file operations.
#
# Copyright 2007 IBM
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#check_utsns_enabled
#if [ $? -eq 0 ]; then
echo "Running utsns tests."
runutstest.sh
#else
# echo "Uts namespaces not enabled in kernel. Not running utsns tests."
#fi
#check_pidns_enabled
#if [ $? -eq 0 ]; then
# echo "Running pidns tests."
# runpidnstest.sh
#else
#echo "Process id namespaces not enabled in kernel. Not running pidns tests."
#fi
#check_userns_enabled
#if [ $? -eq 0 ]; then
#echo "Running userns tests."
# userns_mounts unshare
# userns_mounts clone
# userns_sigio none
# userns_sigio unshare
# userns_sigio clone
# for i in `seq 1 4`; do
# userns_sigpending $i
# done
#else
#echo "User namespaces not enabled in kernel. Not running userns tests."
#fi
runipcnstest.sh