This patch describes about the running the uts namespace testcases.
	Signed-off-by: Rishikesh K Rajak <[EMAIL PROTECTED]>
	Cc: Serge Hallyn <[EMAIL PROTECTED]>
---
Index: ltp-full-20070331/testcases/kernel/containers/container_test.sh
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ ltp-full-20070331/testcases/kernel/containers/container_test.sh	2007-04-19 10:59:32.000000000 +0530
@@ -0,0 +1,41 @@
+#!/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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to