Hello

shame on me, it seems sort -C is nonstandard. However, it should be like chaneg 
to this:

On Wednesday 05 November 2008 14:26:05 Sudhir Kumar wrote:
> 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 > /dev/null 2>&1; then
         tst_resm  TINFO "ip version should be atleast ss080417"
         exit -1
     fi

Signed-off-by: Jiri Palecek <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
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