This patch fixes an issue with the sort command in netns testcases.
Because of this all network namespace testcases were failing.
Signed-off-by: Sudhir Kumar <[EMAIL PROTECTED]>
Index: ltp-full-20081031/testcases/kernel/containers/netns/initialize.sh
===================================================================
--- ltp-full-20081031.orig/testcases/kernel/containers/netns/initialize.sh
+++ ltp-full-20081031/testcases/kernel/containers/netns/initialize.sh
@@ -55,7 +55,7 @@ DEBUG=0
fi
IPver=`ip -V | awk -F"-" ' { print $2 } '` ;
- if ! printf "%s\n%s\n" "ss080417" "$IPver" | sort -C ; then
+ if ! printf "%s\n%s\n" "ss080417" "$IPver" | sort -c ; then
tst_resm TINFO "ip version should be atleast ss080417"
exit -1
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