[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-cvs
Subject:    [Ltp-cvs] ltp/testcases/kernel/containers Makefile, NONE, 1.1 README,
From:       Subrata <subrata_modak () users ! sourceforge ! net>
Date:       2007-04-26 11:02:53
Message-ID: E1Hh1ka-0005v6-SF () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/ltp/ltp/testcases/kernel/containers
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6999/testcases/kernel/containers

Added Files:
	Makefile README container_test.sh 
Log Message:
Integration of UTS Namespace Testcases to LTP as submitted by <risrajak@linux.vnet.ibm.com>


--- NEW FILE: README ---
CONTAINER TESTS AUTOMATION SUITE
----------------------------

The container test automation suite helps run the container functionality
(e.g: utsname etc..) tests and report results. Please refer the following
each functionality README file for detail:

utsname/*
	Contains all the testcases related to utsname tests.
libclone/*
	Contains the library API for clone() .


--- NEW FILE: Makefile ---
SUBDIRS = libclone utsname

all noltp noltp_check:
	@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done

install:
	@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
	chmod ugo+x container_test.sh
	ln -f container_test.sh ../../bin/container_test.sh

clean:
	@set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done



--- NEW FILE: container_test.sh ---
#!/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-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic