The coming patch stack fixes some of the testcases sent earlier on the list by
Veerendra
and adds new testcases for testing network namespace. The patches provides
infrastructure
for tcp testcass and add one testcase for ping command test.
Content-Disposition: inline;
filename=edit-Makefile-in-netns-directory-for-tcp-dir.patch
This patch edits the Makefile in the top directory for all tcp command testcase
for the network namespace.
Signed-off-by: Sudhir Kumar <[EMAIL PROTECTED]>
Index: containers/netns/Makefile
===================================================================
--- containers.orig/netns/Makefile
+++ containers/netns/Makefile
@@ -21,6 +21,7 @@
CFLAGS += -Wall -g
CPPFLAGS += -I../../../../include -I../libclone
LDLIBS += -L../../../../lib -L../libclone ../libclone/libnetns.a -lltp
+SUBDIRS=tcp
SCRIPTS = initialize.sh parentns.sh childns.sh \
parent.sh child.sh \
parent_view.sh parent_share.sh child_propogate.sh \
@@ -28,7 +29,7 @@ parent_1.sh parent_2.sh child_1.sh child
delchild.sh rename_net.sh \
paripv6.sh childipv6.sh \
par_ftp.sh ch_ftp.sh container_ftp.pl \
-runnetnstest.sh \
+runnetnstest.sh runalltcpcmdtests.sh
SRCS = $(wildcard *.c)
TARGETS = $(patsubst %.c,%,$(SRCS))
@@ -39,11 +40,14 @@ NOLTP_TARGETS = $(patsubst %.c,%_noltp,$
all: $(TARGETS)
@chmod +x $(SCRIPTS)
+ @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
install:
for i in $(TARGETS) $(SCRIPTS) runnetnstest.sh check_netns_enabled; do
ln -f $$i ../../../bin/$$i ; chmod +x runnetnstest.sh ; done
+ @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
noltp: $(NOLTP_TARGETS)
clean:
rm -f $(TARGETS) *.o $(NOLTP_TARGETS)
+ @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done
--
Regards
Sudhir Kumar
Linux Technology Center
IBM, India.
-------------------------------------------------------------------------
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