Hi,
--- On Wed, 12/24/08, Masatake YAMATO yam...@redhat.com wrote:
From: Masatake YAMATO yam...@redhat.com
Subject: [LTP] Introduce autoconf to eventfd test case
To: ltp-list@lists.sourceforge.net
Date: Wednesday, December 24, 2008, 5:19 PM
Makefile of eventfd test case uses cond.mk. I
This patch adds the script to be called by the command file to run network
testcases under containers environment.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/nw_under_ns.sh
This patch adds the other namespace creation support with the network namespace.
We now create the PID UTS namespaces and unshares filesystem attributes.
The patch is required to reuse the existing network testcases directly without
any porting, for network namespace.
Signed-off-by: Sudhir Kumar
Add other network testcases to be run.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index:
ltp-full-20081130/testcases/kernel/containers/netns/runallnetworktests_child.sh
===
---
This patch fixes some of the errors that I found in network namespace creation
library.
A file test on an unset vriable will give a pass, so the current test fails.
(var scrpt may not have been set before calling :))This patch fixes that error.
Signed-off-by: Sudhir Kumar
Documentation for running the tests.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/readme
===
--- /dev/null
+++
This patch changes the way information is exchanged between parent and child.
This is required because of the following reason:
Earlier the child was in the same pid namespace as parent and this info was
passed from the child to the parent through a fifo. But now the child is in
a separate pid
This patch adds the script to be executed in the child container. The script
contains the setup code and the command for different network testcases.
Further code will be added as per the requirements from different network
testcases.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index:
This patch edits the Makefile.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/Makefile
===
--- ltp-full-20081130.orig/testcases/kernel/containers/netns/Makefile
+++
This patchset creates the basic infrastructure for running the existing network
testcases under containers automatically. The patchset creates a command file
named nw_under_ns for the purpose.
Please review them and provide all your valuable feedback.
I have addressed all the comments from lxc-dev
This patch adds the script to be executed in the parent container. The script
will
contain the code as per the requirements from different network testcases.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index:
Do not let the errors happen silently. The patch adds some messages.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/childns.sh
===
---
The binary to create the network namespace and run the script tests.
The api takes two script names as arguments and run them in parent and
child namespace.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/create_container.c
Hi,
--- On Mon, 12/22/08, Andrew Vagin ava...@gmail.com wrote:
From: Andrew Vagin ava...@gmail.com
Subject: [LTP] [PATCH] add options for block devices and turn on related
testcases
To: subr...@linux.vnet.ibm.com
Cc: ltp-list@lists.sourceforge.net
Date: Monday, December 22, 2008, 3:14 PM
Hi,
--- On Tue, 12/23/08, Andrew Vagin ava...@parallels.com wrote:
From: Andrew Vagin ava...@parallels.com
Subject: Re: [LTP] [PATCH] add new testcase for check inotify subsytem.
To: CAI Qian caiq...@cclom.cn
Cc: ltp-list@lists.sourceforge.net
Date: Tuesday, December 23, 2008, 7:56 PM
On
On Wednesday 24 December 2008 04:19:12 Masatake YAMATO wrote:
+AC_CHECK_HEADERS(sys/eventfd.h)
+
+AC_CHECK_HEADERS(libaio.h)
AC_CHECK_HEADERS_ONCE() is preferred
+AC_CHECK_LIB(aio,io_setup)
+for x in $LIBS; do
+if test $x = -laio; then
+ AIO_LIBS=$AIO_LIBS -laio
+fi
+done
Masatake YAMATO wrote:
Before my change ltp own eventfd wrapper calls eventfd
system call like this:
static int
myeventfd(unsigned int initval, int flags)
{
return syscall(__NR_eventfd, initval);
}
As you can see, FLAGS argument is not used. I guess
this is a bug. So I
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patchset creates the basic infrastructure for running the existing
network
testcases under containers automatically. The patchset creates a command file
named nw_under_ns for the purpose.
Please review them and provide all your valuable
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch fixes some of the errors that I found in network namespace creation
library.
A file test on an unset vriable will give a pass, so the current test fails.
(var scrpt may not have been set before calling :))This patch fixes that
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch adds the other namespace creation support with the network
namespace.
We now create the PID UTS namespaces and unshares filesystem attributes.
The patch is required to reuse the existing network testcases directly without
any
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch changes the way information is exchanged between parent and child.
This is required because of the following reason:
Earlier the child was in the same pid namespace as parent and this info was
passed from the child to the parent
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
Do not let the errors happen silently. The patch adds some messages.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn se...@us.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/childns.sh
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
The binary to create the network namespace and run the script tests.
The api takes two script names as arguments and run them in parent and
child namespace.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch adds the script to be executed in the parent container. The script
will
contain the code as per the requirements from different network testcases.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch adds the script to be executed in the child container. The script
contains the setup code and the command for different network testcases.
Further code will be added as per the requirements from different network
testcases.
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch adds the script to be called by the command file to run network
testcases under containers environment.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn se...@us.ibm.com
Index:
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch edits the Makefile.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn se...@us.ibm.com
Index: ltp-full-20081130/testcases/kernel/containers/netns/Makefile
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
This patch adds the command file for running network testcases under
containers.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn se...@us.ibm.com
Index: ltp-full-20081130/runtest/nw_under_ns
Quoting Sudhir Kumar (sku...@linux.vnet.ibm.com):
Add other network testcases to be run.
Signed-off-by: Sudhir Kumar sku...@linux.vnet.ibm.com
Acked-by: Serge Hallyn se...@us.ibm.com
Index:
ltp-full-20081130/testcases/kernel/containers/netns/runallnetworktests_child.sh
this testcase checked event IN_UNMOUNT
IN_UNMOUNT File system containing watched object was unmounted and
check filesystem that it can't be unmounted if exist opened inotify
descriptor.
example of execution:
Running tests...
inotify030 INFO : mount /dev/loop0 to mnt_694 fstype=ext3
version 2:
correct patch according with coments from CAI Qian.
---
runltp | 59 +++--
runtest/syscalls | 14 ++--
2 files changed, 63 insertions(+), 10 deletions(-)
diff --git a/runltp b/runltp
index b6e8b35..0cdba31 100755
On Wed, Dec 24, 2008 at 03:36:21AM -0800, CAI Qian wrote:
Hi,
--- On Mon, 12/22/08, Andrew Vagin ava...@gmail.com wrote:
From: Andrew Vagin ava...@gmail.com
Subject: [LTP] [PATCH] add options for block devices and turn on related
testcases
To: subr...@linux.vnet.ibm.com
Cc:
32 matches
Mail list logo