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=fix-file-test-error-in-parentns-script.patch
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 <[EMAIL PROTECTED]>
Index: containers/libclone/libnetns.c
Index: containers/netns/parentns.sh
===================================================================
--- containers.orig/netns/parentns.sh
+++ containers/netns/parentns.sh
@@ -54,7 +54,7 @@ status=0
echo $vnet1 > /tmp/FIFO2
# Executes the script if it is passed as an argument.
- if [ -f $scrpt ] ; then
+ if [ ! -z $scrpt ] && [ -f $scrpt ] ; then
source $scrpt
fi
--
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