From: Rishi k. K R. <ris...@li...> - 2010-03-10 13:04:44
|
The branch, next, has been updated via 737694964966bcf7a807b335d51923ee9c9c27a5 (commit) from ce944320bea9e3d7044a36c64ef2e1719312370d (commit) - Log ----------------------------------------------------------------- commit 737694964966bcf7a807b335d51923ee9c9c27a5 Author: Rishikesh K Rajak <ris...@li...> Date: Wed Mar 10 18:32:35 2010 +0530 To run filecap test, checkforlibcap.sh file is required to be there in /opt/ltp/testcases/bin Otherwise you will get this error when you run filecap test. >>>> /opt/ltp/testcases/bin/filecapstest.sh: line 22: checkforlibcap.sh: command not found <<<< Signed-off-by: Rishikesh K Rajak <ris...@li...> ----------------------------------------------------------------------- Summary of changes: testcases/kernel/security/filecaps/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/security/filecaps/Makefile b/testcases/kernel/security/filecaps/Makefile index acad441..d6efeee 100644 --- a/testcases/kernel/security/filecaps/Makefile +++ b/testcases/kernel/security/filecaps/Makefile @@ -22,7 +22,7 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -INSTALL_TARGETS := filecapstest.sh +INSTALL_TARGETS := *.sh CPPFLAGS += -D_GNU_SOURCE DEBUG_CPPFLAGS += -DDEBUG=1 hooks/post-receive -- ltp |
From: Rishi k. K R. <ris...@li...> - 2010-03-10 13:05:52
|
The branch, master, has been updated via a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f (commit) via 737694964966bcf7a807b335d51923ee9c9c27a5 (commit) via ce944320bea9e3d7044a36c64ef2e1719312370d (commit) from 1a5506c97dcfda0bd16f83ca855bb633c47eea4c (commit) - Log ----------------------------------------------------------------- commit a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f Author: Rishikesh K Rajak <ris...@li...> Date: Wed Mar 10 18:34:57 2010 +0530 Merge branches 'next' and 'master' ----------------------------------------------------------------------- Summary of changes: testcases/kernel/security/filecaps/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/security/filecaps/Makefile b/testcases/kernel/security/filecaps/Makefile index acad441..d6efeee 100644 --- a/testcases/kernel/security/filecaps/Makefile +++ b/testcases/kernel/security/filecaps/Makefile @@ -22,7 +22,7 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -INSTALL_TARGETS := filecapstest.sh +INSTALL_TARGETS := *.sh CPPFLAGS += -D_GNU_SOURCE DEBUG_CPPFLAGS += -DDEBUG=1 hooks/post-receive -- ltp |
From: Garrett C. <ris...@li...> - 2010-03-11 04:29:53
|
The branch, master, has been updated via 00c8b3450d151482e9f7424224fc8a64bff27fdd (commit) via a25f31b6f0a774b75ad2bf664f84ff0500086785 (commit) via 007dce57f645ad796f8cb60a13de936ac04fd1e8 (commit) via 71256e18bb4d21d1b82c4031a1983cb72ef215aa (commit) from a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f (commit) - Log ----------------------------------------------------------------- commit 00c8b3450d151482e9f7424224fc8a64bff27fdd Merge: a25f31b6f0a774b75ad2bf664f84ff0500086785 a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f Author: Garrett Cooper <yan...@gm...> Date: Wed Mar 10 20:29:15 2010 -0800 Merge branch 'master' of ssh://yab...@lt.../gitroot/ltp/ltp-dev commit a25f31b6f0a774b75ad2bf664f84ff0500086785 Author: Garrett Cooper <yan...@gm...> Date: Wed Mar 10 20:28:33 2010 -0800 Update TODO with note about needing to replace pushd and popd logic in a few tests. Signed-off-by: Garrett Cooper <yan...@gm...> commit 007dce57f645ad796f8cb60a13de936ac04fd1e8 Author: Garrett Cooper <yan...@gm...> Date: Wed Mar 10 20:26:15 2010 -0800 Hi, I found following problem about "memcg_control" test. --------- /opt/ltp/testcases/bin/memcg_control_test.sh: line 30: [: : integer expression expected ---------- This happens because of following process. [ memcg_control_test.sh: line 30 ] --------- if [ "$(grep -w memory /proc/cgroups | cut -f4)" -ne "1" ]; then echo "WARNING:" echo "Either kernel does not support memory resource controller or feature not ena bled" echo "Skipping all memcg_control testcases...." exit 0 fi --------- "$(grep -w memory /proc/cgroups | cut -f4)" can't comparable with "1" if "$(grep -w memory /proc/cgroups | cut -f4)" = nothing. How about fixing like the other "memcg" tests? Signed-off-by: Yuki Yao<y_...@ry...> Acked-by: Garrett Cooper <yan...@gm...> commit 71256e18bb4d21d1b82c4031a1983cb72ef215aa Author: Garrett Cooper <yan...@gm...> Date: Mon Mar 8 08:53:05 2010 -0800 Clean up comment to note the actual problem. It was confusing before. Signed-off-by: Garrett Cooper <yan...@gm...> ----------------------------------------------------------------------- Summary of changes: TODO | 6 ++++++ .../memcg/control/memcg_control_test.sh | 2 +- testcases/kernel/syscalls/libevent/buffer.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 1756168..5e289ca 100644 --- a/TODO +++ b/TODO @@ -32,6 +32,9 @@ testcases/ballista: 3. Uses cshell for some weird arse reason, instead of using Bourne shell compat scripts. +testcases/kernel/controllers/freezer/libcgroup_freezer: +1. Uses pushd / popd, which isn't present in busybox. + testcases/kernel/fs/dmapi/Makefile: 1. This test requires JFS support, which most systems don't have. So a set of proper autoconf tests need to be added for this as well. @@ -86,6 +89,9 @@ testcases/network/stress/udp/...: that all of the scripts are being linked to the file $(abs_top_srcdir)/testcases/bin . +testcases/realtime/run.sh: +1. Uses pushd / popd, which isn't present in busybox. + tools/Makefile: 1. netpipe* needs fixing and reorg, because it's referencing /home/mpich, etc. diff --git a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh index 5f52a18..d926041 100644 --- a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh +++ b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh @@ -27,7 +27,7 @@ ## ## ################################################################################ -if [ "$(grep -w memory /proc/cgroups | cut -f4)" -ne "1" ]; then +if [ "x$(grep -w memory /proc/cgroups | cut -f4)" != "x1" ]; then echo "WARNING:" echo "Either kernel does not support memory resource controller or feature not enabled" echo "Skipping all memcg_control testcases...." diff --git a/testcases/kernel/syscalls/libevent/buffer.c b/testcases/kernel/syscalls/libevent/buffer.c index 5fae50c..583b812 100644 --- a/testcases/kernel/syscalls/libevent/buffer.c +++ b/testcases/kernel/syscalls/libevent/buffer.c @@ -37,8 +37,8 @@ #include <err.h> #include <errno.h> -/* FIXME (garrcoop): this is a bug according to the manpage; need this for - * vasprintf(3). */ +/* FIXME (garrcoop): this wasn't present in the upstream sources [is + * requirement according to the manpage for vasprintf(3)]. */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif hooks/post-receive -- ltp |
From: Rishi k. K R. <ris...@li...> - 2010-03-13 07:18:32
|
The branch, next, has been updated via b80fdefbd1843484e5a3ccc3d5748fee5b4cd1f7 (commit) via 00c8b3450d151482e9f7424224fc8a64bff27fdd (commit) via a25f31b6f0a774b75ad2bf664f84ff0500086785 (commit) via 007dce57f645ad796f8cb60a13de936ac04fd1e8 (commit) via a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f (commit) via 71256e18bb4d21d1b82c4031a1983cb72ef215aa (commit) from 737694964966bcf7a807b335d51923ee9c9c27a5 (commit) - Log ----------------------------------------------------------------- commit b80fdefbd1843484e5a3ccc3d5748fee5b4cd1f7 Author: Rishikesh K Rajak <ris...@li...> Date: Sat Mar 13 12:47:38 2010 +0530 Merge branches 'master' and 'next' into next ----------------------------------------------------------------------- Summary of changes: TODO | 6 ++++++ .../memcg/control/memcg_control_test.sh | 2 +- testcases/kernel/syscalls/libevent/buffer.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 1756168..5e289ca 100644 --- a/TODO +++ b/TODO @@ -32,6 +32,9 @@ testcases/ballista: 3. Uses cshell for some weird arse reason, instead of using Bourne shell compat scripts. +testcases/kernel/controllers/freezer/libcgroup_freezer: +1. Uses pushd / popd, which isn't present in busybox. + testcases/kernel/fs/dmapi/Makefile: 1. This test requires JFS support, which most systems don't have. So a set of proper autoconf tests need to be added for this as well. @@ -86,6 +89,9 @@ testcases/network/stress/udp/...: that all of the scripts are being linked to the file $(abs_top_srcdir)/testcases/bin . +testcases/realtime/run.sh: +1. Uses pushd / popd, which isn't present in busybox. + tools/Makefile: 1. netpipe* needs fixing and reorg, because it's referencing /home/mpich, etc. diff --git a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh index 5f52a18..d926041 100644 --- a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh +++ b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh @@ -27,7 +27,7 @@ ## ## ################################################################################ -if [ "$(grep -w memory /proc/cgroups | cut -f4)" -ne "1" ]; then +if [ "x$(grep -w memory /proc/cgroups | cut -f4)" != "x1" ]; then echo "WARNING:" echo "Either kernel does not support memory resource controller or feature not enabled" echo "Skipping all memcg_control testcases...." diff --git a/testcases/kernel/syscalls/libevent/buffer.c b/testcases/kernel/syscalls/libevent/buffer.c index 5fae50c..583b812 100644 --- a/testcases/kernel/syscalls/libevent/buffer.c +++ b/testcases/kernel/syscalls/libevent/buffer.c @@ -37,8 +37,8 @@ #include <err.h> #include <errno.h> -/* FIXME (garrcoop): this is a bug according to the manpage; need this for - * vasprintf(3). */ +/* FIXME (garrcoop): this wasn't present in the upstream sources [is + * requirement according to the manpage for vasprintf(3)]. */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif hooks/post-receive -- ltp |
From: Rishi k. K R. <ris...@li...> - 2010-03-13 07:20:57
|
The branch, pu, has been updated via d05498f44de5d3e542b2031b458d84e907604728 (commit) via 00c8b3450d151482e9f7424224fc8a64bff27fdd (commit) via a25f31b6f0a774b75ad2bf664f84ff0500086785 (commit) via 007dce57f645ad796f8cb60a13de936ac04fd1e8 (commit) via a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f (commit) via 737694964966bcf7a807b335d51923ee9c9c27a5 (commit) via ce944320bea9e3d7044a36c64ef2e1719312370d (commit) via 71256e18bb4d21d1b82c4031a1983cb72ef215aa (commit) from 615e1e37de053855b6bd56bae8b00d8a17133f8a (commit) - Log ----------------------------------------------------------------- commit d05498f44de5d3e542b2031b458d84e907604728 Merge: 615e1e37de053855b6bd56bae8b00d8a17133f8a 00c8b3450d151482e9f7424224fc8a64bff27fdd Author: Rishikesh K Rajak <ris...@li...> Date: Sat Mar 13 12:50:13 2010 +0530 Merge branches 'master' and 'pu' into pu ----------------------------------------------------------------------- Summary of changes: TODO | 6 ++++++ .../memcg/control/memcg_control_test.sh | 2 +- testcases/kernel/security/filecaps/Makefile | 2 +- testcases/kernel/syscalls/libevent/buffer.c | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 1756168..5e289ca 100644 --- a/TODO +++ b/TODO @@ -32,6 +32,9 @@ testcases/ballista: 3. Uses cshell for some weird arse reason, instead of using Bourne shell compat scripts. +testcases/kernel/controllers/freezer/libcgroup_freezer: +1. Uses pushd / popd, which isn't present in busybox. + testcases/kernel/fs/dmapi/Makefile: 1. This test requires JFS support, which most systems don't have. So a set of proper autoconf tests need to be added for this as well. @@ -86,6 +89,9 @@ testcases/network/stress/udp/...: that all of the scripts are being linked to the file $(abs_top_srcdir)/testcases/bin . +testcases/realtime/run.sh: +1. Uses pushd / popd, which isn't present in busybox. + tools/Makefile: 1. netpipe* needs fixing and reorg, because it's referencing /home/mpich, etc. diff --git a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh index 5f52a18..d926041 100644 --- a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh +++ b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh @@ -27,7 +27,7 @@ ## ## ################################################################################ -if [ "$(grep -w memory /proc/cgroups | cut -f4)" -ne "1" ]; then +if [ "x$(grep -w memory /proc/cgroups | cut -f4)" != "x1" ]; then echo "WARNING:" echo "Either kernel does not support memory resource controller or feature not enabled" echo "Skipping all memcg_control testcases...." diff --git a/testcases/kernel/security/filecaps/Makefile b/testcases/kernel/security/filecaps/Makefile index acad441..d6efeee 100644 --- a/testcases/kernel/security/filecaps/Makefile +++ b/testcases/kernel/security/filecaps/Makefile @@ -22,7 +22,7 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -INSTALL_TARGETS := filecapstest.sh +INSTALL_TARGETS := *.sh CPPFLAGS += -D_GNU_SOURCE DEBUG_CPPFLAGS += -DDEBUG=1 diff --git a/testcases/kernel/syscalls/libevent/buffer.c b/testcases/kernel/syscalls/libevent/buffer.c index 5fae50c..583b812 100644 --- a/testcases/kernel/syscalls/libevent/buffer.c +++ b/testcases/kernel/syscalls/libevent/buffer.c @@ -37,8 +37,8 @@ #include <err.h> #include <errno.h> -/* FIXME (garrcoop): this is a bug according to the manpage; need this for - * vasprintf(3). */ +/* FIXME (garrcoop): this wasn't present in the upstream sources [is + * requirement according to the manpage for vasprintf(3)]. */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif hooks/post-receive -- ltp |
From: Rishi k. K R. <ris...@li...> - 2010-03-13 07:22:00
|
The branch, maint, has been updated via 2784e9a6e36cacad4192f41a8c9044a85428ed27 (commit) via 00c8b3450d151482e9f7424224fc8a64bff27fdd (commit) via a25f31b6f0a774b75ad2bf664f84ff0500086785 (commit) via 007dce57f645ad796f8cb60a13de936ac04fd1e8 (commit) via a3bb7abd2c1fb20dc4d93bef9cda2980f4339a6f (commit) via 737694964966bcf7a807b335d51923ee9c9c27a5 (commit) via ce944320bea9e3d7044a36c64ef2e1719312370d (commit) via 71256e18bb4d21d1b82c4031a1983cb72ef215aa (commit) from b8ed5460176838d9b714dddbc17685983b4a8b9b (commit) - Log ----------------------------------------------------------------- commit 2784e9a6e36cacad4192f41a8c9044a85428ed27 Merge: b8ed5460176838d9b714dddbc17685983b4a8b9b 00c8b3450d151482e9f7424224fc8a64bff27fdd Author: Rishikesh K Rajak <ris...@li...> Date: Sat Mar 13 12:49:29 2010 +0530 Merge branches 'master' and 'maint' into maint ----------------------------------------------------------------------- Summary of changes: TODO | 6 ++++++ .../memcg/control/memcg_control_test.sh | 2 +- testcases/kernel/security/filecaps/Makefile | 2 +- testcases/kernel/syscalls/libevent/buffer.c | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 1756168..5e289ca 100644 --- a/TODO +++ b/TODO @@ -32,6 +32,9 @@ testcases/ballista: 3. Uses cshell for some weird arse reason, instead of using Bourne shell compat scripts. +testcases/kernel/controllers/freezer/libcgroup_freezer: +1. Uses pushd / popd, which isn't present in busybox. + testcases/kernel/fs/dmapi/Makefile: 1. This test requires JFS support, which most systems don't have. So a set of proper autoconf tests need to be added for this as well. @@ -86,6 +89,9 @@ testcases/network/stress/udp/...: that all of the scripts are being linked to the file $(abs_top_srcdir)/testcases/bin . +testcases/realtime/run.sh: +1. Uses pushd / popd, which isn't present in busybox. + tools/Makefile: 1. netpipe* needs fixing and reorg, because it's referencing /home/mpich, etc. diff --git a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh index 5f52a18..d926041 100644 --- a/testcases/kernel/controllers/memcg/control/memcg_control_test.sh +++ b/testcases/kernel/controllers/memcg/control/memcg_control_test.sh @@ -27,7 +27,7 @@ ## ## ################################################################################ -if [ "$(grep -w memory /proc/cgroups | cut -f4)" -ne "1" ]; then +if [ "x$(grep -w memory /proc/cgroups | cut -f4)" != "x1" ]; then echo "WARNING:" echo "Either kernel does not support memory resource controller or feature not enabled" echo "Skipping all memcg_control testcases...." diff --git a/testcases/kernel/security/filecaps/Makefile b/testcases/kernel/security/filecaps/Makefile index acad441..d6efeee 100644 --- a/testcases/kernel/security/filecaps/Makefile +++ b/testcases/kernel/security/filecaps/Makefile @@ -22,7 +22,7 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -INSTALL_TARGETS := filecapstest.sh +INSTALL_TARGETS := *.sh CPPFLAGS += -D_GNU_SOURCE DEBUG_CPPFLAGS += -DDEBUG=1 diff --git a/testcases/kernel/syscalls/libevent/buffer.c b/testcases/kernel/syscalls/libevent/buffer.c index 5fae50c..583b812 100644 --- a/testcases/kernel/syscalls/libevent/buffer.c +++ b/testcases/kernel/syscalls/libevent/buffer.c @@ -37,8 +37,8 @@ #include <err.h> #include <errno.h> -/* FIXME (garrcoop): this is a bug according to the manpage; need this for - * vasprintf(3). */ +/* FIXME (garrcoop): this wasn't present in the upstream sources [is + * requirement according to the manpage for vasprintf(3)]. */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif hooks/post-receive -- ltp |