Skip to contentSkip to conversation

mc_opts: network/multicast/mc_opts/mc_opts script - bug fixing

PATCH In review [email protected] 2 participants 2 messages Jul 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mc_opts: network/multicast/mc_opts/mc_opts script - bug fixing

Test case "mc_opts" fails as it is not able to install "opts" and "opts_e" files at desired location. This is because the path of these files mentioned in the "mc_opts" script is incorrect. Following patch fixes the above problem.

testcases/network/multicast/mc_opts/mc_opts +1 -1
Index: ltp-full-20100630/testcases/network/multicast/mc_opts/mc_opts
===================================================================
@@ -57,7 +57,7 @@ setup()
   mkdir -p $TCtmp
   for i in $EXECUTABLES
   do
-    install -m 0755 "$LTPROOT/$i" "$TCtmp/."
+    install -m 0755 "$LTPROOT/testcases/bin/$i" "$TCtmp/."
   done

}

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 12 lines · On Thu, Jul 15, 2010 at 11:12 PM, <[email protected]> wrote:

Test case "mc_opts" fails as it is not able to install "opts" and "opts_e" files at desired location. This is because the path of these files mentioned in the "mc_opts" script is incorrect. Following patch fixes the above problem.

Index: ltp-full-20100630/testcases/network/multicast/mc_opts/mc_opts
===================================================================

testcases/network/multicast/mc_opts/mc_opts +0 -0
@@ -57,7 +57,7 @@ setup()
Quoted 7 lines

  mkdir -p $TCtmp
  for i in $EXECUTABLES
  do
-    install -m 0755 "$LTPROOT/$i" "$TCtmp/."
+    install -m 0755 "$LTPROOT/testcases/bin/$i" "$TCtmp/." done
}

ACK

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list