> Signed-off-by: CAI Qian <[EMAIL PROTECTED]>

Thanks Cai for these fixes. You may want to revisit the latest sources
again to find everything is working fine. I have made lots of changes
today.

Regards--
Subrata

> 
> diff -ur ltp/pan/Makefile ltp-new/pan/Makefile
> --- ltp/pan/Makefile  2008-04-02 05:24:55.000000000 -0400
> +++ ltp-new/pan/Makefile      2008-10-14 06:13:08.000000000 -0400
> @@ -1,6 +1,6 @@
> 
>  LOADLIBES += -lm
> -LFLAGS += -l
> +LFLAGS += -lw
>  CFLAGS += -w 
>  DESTDIR = /opt/ltp
> 
> Only in ltp-new/testcases/ballista/ballista: MakefileHost
> Only in ltp-new/testcases/ballista/ballista: MakefileTarget
> diff -ur ltp/testcases/kernel/connectors/Makefile 
> ltp-new/testcases/kernel/connectors/Makefile
> --- ltp/testcases/kernel/connectors/Makefile  2008-09-11 03:21:14.000000000 
> -0400
> +++ ltp-new/testcases/kernel/connectors/Makefile      2008-10-14 
> 06:17:29.000000000 -0400
> @@ -2,7 +2,7 @@
> 
>  all:
>       @set -e; \
> -     if ../../bin/tst_kvercmp 2 6 15; then \
> +     if ! test -f /proc/net/connector; then \
>               echo "system does not support process event connector"; \
>       else for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; true; fi
> 
> @@ -10,7 +10,7 @@
>       @set -e; \
>       ln -f connector_test.sh ../../bin/connector_test.sh; \
>       chmod ugo+x connector_test.sh; \
> -     if ../../bin/tst_kvercmp 2 6 15; then \
> +     if ! test -f /proc/net/connector; then \
>               echo "system does not support process event connector"; \
>       else for i in $(SUBDIRS); do $(MAKE) -C $$i install; done; true; fi
> 
> diff -ur ltp/testcases/kernel/containers/check_for_unshare.c
> ltp-new/testcases/kernel/containers/check_for_unshare.c
> --- ltp/testcases/kernel/containers/check_for_unshare.c       2008-09-19 
> 08:17:10.000000000 -0400
> +++ ltp-new/testcases/kernel/containers/check_for_unshare.c   2008-10-14 
> 06:18:33.000000000 -0400
> @@ -16,6 +16,7 @@
>  ***************************************************************************/
>  #include <stdio.h>
>  #include "libclone/libclone.h"
> +#include "test.h"
> 
>  int kernel_is_too_old(void) {
>       if (tst_kvercmp(2,6,16) < 0)
> diff -ur ltp/testcases/kernel/controllers/Makefile 
> ltp-new/testcases/kernel/controllers/Makefile
> --- ltp/testcases/kernel/controllers/Makefile 2008-07-14 13:16:07.000000000 
> -0400
> +++ ltp-new/testcases/kernel/controllers/Makefile     2008-10-14 
> 06:20:38.000000000 -0400
> @@ -1,28 +1,28 @@
>  SUBDIRS = libcontrollers cpuctl memctl io-throttle
> -CHECK_CPUCTL = $(shell grep -w cpu /proc/cgroups|cut -f1)
> -CHECK_MEMCTL = $(shell grep -w memory /proc/cgroups|cut -f1)
> -CHECK_BLOCKIOCTL= $(shell grep -w blockio /proc/cgroups|cut -f1)
> +CHECK_CPUCTL = $(shell grep -w cpu /proc/cgroups 2>/dev/null|cut -f1)
> +CHECK_MEMCTL = $(shell grep -w memory /proc/cgroups 2>/dev/null|cut -f1)
> +CHECK_BLOCKIOCTL= $(shell grep -w blockio /proc/cgroups 2>/dev/null|cut -f1)
>  all:
>       @set -e;
>  ifeq ($(CHECK_CPUCTL),cpu)
> 
>       for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ;done;
>  else
> -     echo "Kernel is not compiled with cpu controller support";
> +     @echo "Kernel is not compiled with cpu controller support";
>  endif
> 
>  ifeq ($(CHECK_MEMCTL),memory)
> 
>       for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ;done;
>  else
> -     echo "Kernel is not compiled with memory resource controller support";
> +     @echo "Kernel is not compiled with memory resource controller support";
>  endif
> 
>  ifeq ($(CHECK_BLOCKIOCTL),blockio)
> 
>       for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ;done;
>  else
> -     echo "Kernel is not compiled with blockio resource controller support";
> +     @echo "Kernel is not compiled with blockio resource controller support";
>  endif
> 
>  install:
> @@ -34,7 +34,7 @@
>       for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done; \
>       chmod ugo+x test_controllers.sh;
>  else
> -     echo "Kernel is not compiled with cpu controller support";
> +     @echo "Kernel is not compiled with cpu controller support";
>  endif
> 
>  ifeq ($(CHECK_MEMCTL),memory)
> @@ -42,7 +42,7 @@
>       for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done; \
>       chmod ugo+x test_controllers.sh;
>  else
> -     echo "Kernel is not compiled with memory resource controller support";
> +     @echo "Kernel is not compiled with memory resource controller support";
>  endif
> 
>  ifeq ($(CHECK_BLOCKIOCTL),blockio)
> @@ -50,7 +50,7 @@
>       for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done; \
>       chmod ugo+x test_controllers.sh;
>  else
> -     echo "Kernel is not compiled with blockio resource controller support";
> +     @echo "Kernel is not compiled with blockio resource controller support";
>  endif
> 
>  clean:
> diff -ur ltp/testcases/kernel/syscalls/ptrace/Makefile
> ltp-new/testcases/kernel/syscalls/ptrace/Makefile
> --- ltp/testcases/kernel/syscalls/ptrace/Makefile     2008-09-24 
> 00:57:32.000000000 -0400
> +++ ltp-new/testcases/kernel/syscalls/ptrace/Makefile 2008-10-14 
> 23:26:11.000000000 -0400
> @@ -19,7 +19,7 @@
>  CFLAGS += -I../../../../include -Wall
>  LDLIBS += -L../../../../lib -lltp
> 
> -SRCS    = $(wildcard *.c)
> +SRCS    = $(wildcard *[^6].c)
>  TARGETS = $(patsubst ptrace%.c,ptrace%,$(SRCS))
> 
>  all: $(TARGETS)
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to