All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] Fix Usage Reference of those tools utilities
@ 2011-02-12 17:58 Subrata Modak
  2011-02-12 19:13 ` Garrett Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Subrata Modak @ 2011-02-12 17:58 UTC (permalink / raw
  To: LTP Mailing List

Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools,
they are done under @{LTP_ROOT}/bin. Change their reference accordingly
inside 'runltp' script. Nobody noticed this early as probably these
options are least used in LTP ;-)

Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>

---
diff --git a/runltp b/runltp
index 2c6785f..381e123 100755
--- a/runltp
+++ b/runltp
@@ -779,7 +779,7 @@ main()
 			#Go ahead to Inject Fault & Create required
 			#Command Files for LTP run
 			echo Running tests with Fault Injection Enabled in the Kernel...
-			${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
+			${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
 				${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
 			cp ${TMP}/alltests.tmp ${TMP}/alltests
 			rm -rf ${TMP}/alltests.tmp
@@ -796,15 +796,15 @@ main()
 			which valgrind || VALGRIND_CHECK_TYPE=XYZ
 			case $VALGRIND_CHECK_TYPE in
 				1)
-				${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
+				${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
 				cp ${TMP}/alltests.tmp ${TMP}/alltests
 				rm -rf ${TMP}/alltests.tmp;;
 				2)
-				${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
+				${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
 				cp ${TMP}/alltests.tmp ${TMP}/alltests
 				rm -rf ${TMP}/alltests.tmp;;
 				3)
-				${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
+				${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
 				cp ${TMP}/alltests.tmp ${TMP}/alltests
 				rm -rf ${TMP}/alltests.tmp;;
 				*) echo "Invalid Memory Check Type, or, Valgrind is not available";;
@@ -859,7 +859,7 @@ main()
        export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
        export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
        echo "Generating HTML Output.....!!"
-       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
+       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
        echo "Generated HTML Output.....!!"
        echo "Location: $HTMLFILE";
 
---

Regards--
Subrata


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [LTP] [PATCH] Fix Usage Reference of those tools utilities
  2011-02-12 17:58 [LTP] [PATCH] Fix Usage Reference of those tools utilities Subrata Modak
@ 2011-02-12 19:13 ` Garrett Cooper
  2011-02-14  6:58   ` Subrata Modak
  0 siblings, 1 reply; 4+ messages in thread
From: Garrett Cooper @ 2011-02-12 19:13 UTC (permalink / raw
  To: Subrata Modak; +Cc: LTP Mailing List

On Feb 12, 2011, at 9:58 AM, Subrata Modak <subrata@linux.vnet.ibm.com> wrote:

> Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools,
> they are done under @{LTP_ROOT}/bin. Change their reference accordingly
> inside 'runltp' script. Nobody noticed this early as probably these
> options are least used in LTP ;-)
> 
> Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>
> 
> ---
> diff --git a/runltp b/runltp
> index 2c6785f..381e123 100755
> --- a/runltp
> +++ b/runltp
> @@ -779,7 +779,7 @@ main()
>            #Go ahead to Inject Fault & Create required
>            #Command Files for LTP run
>            echo Running tests with Fault Injection Enabled in the Kernel...
> -            ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
> +            ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
>                ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
>            cp ${TMP}/alltests.tmp ${TMP}/alltests
>            rm -rf ${TMP}/alltests.tmp
> @@ -796,15 +796,15 @@ main()
>            which valgrind || VALGRIND_CHECK_TYPE=XYZ
>            case $VALGRIND_CHECK_TYPE in
>                1)
> -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
> +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
>                cp ${TMP}/alltests.tmp ${TMP}/alltests
>                rm -rf ${TMP}/alltests.tmp;;
>                2)
> -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
> +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
>                cp ${TMP}/alltests.tmp ${TMP}/alltests
>                rm -rf ${TMP}/alltests.tmp;;
>                3)
> -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
> +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
>                cp ${TMP}/alltests.tmp ${TMP}/alltests
>                rm -rf ${TMP}/alltests.tmp;;
>                *) echo "Invalid Memory Check Type, or, Valgrind is not available";;
> @@ -859,7 +859,7 @@ main()
>        export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
>        export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
>        echo "Generating HTML Output.....!!"
> -       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
> +       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
>        echo "Generated HTML Output.....!!"
>        echo "Location: $HTMLFILE";
> 
> ---
> 
> Regards--
> Subrata
> 
> 
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LTP] [PATCH] Fix Usage Reference of those tools utilities
  2011-02-12 19:13 ` Garrett Cooper
@ 2011-02-14  6:58   ` Subrata Modak
  2011-02-14  7:25     ` Garrett Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Subrata Modak @ 2011-02-14  6:58 UTC (permalink / raw
  To: Garrett Cooper; +Cc: LTP Mailing List

Garret,

Did you mean to comment something ? I did not receive any feedback in
the mail, just blank reply :-(

Regards--
Subrata

On Sat, 2011-02-12 at 11:13 -0800, Garrett Cooper wrote:
> On Feb 12, 2011, at 9:58 AM, Subrata Modak <subrata@linux.vnet.ibm.com> wrote:
> 
> > Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools,
> > they are done under @{LTP_ROOT}/bin. Change their reference accordingly
> > inside 'runltp' script. Nobody noticed this early as probably these
> > options are least used in LTP ;-)
> > 
> > Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>
> > 
> > ---
> > diff --git a/runltp b/runltp
> > index 2c6785f..381e123 100755
> > --- a/runltp
> > +++ b/runltp
> > @@ -779,7 +779,7 @@ main()
> >            #Go ahead to Inject Fault & Create required
> >            #Command Files for LTP run
> >            echo Running tests with Fault Injection Enabled in the Kernel...
> > -            ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
> > +            ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
> >                ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
> >            cp ${TMP}/alltests.tmp ${TMP}/alltests
> >            rm -rf ${TMP}/alltests.tmp
> > @@ -796,15 +796,15 @@ main()
> >            which valgrind || VALGRIND_CHECK_TYPE=XYZ
> >            case $VALGRIND_CHECK_TYPE in
> >                1)
> > -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
> > +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
> >                cp ${TMP}/alltests.tmp ${TMP}/alltests
> >                rm -rf ${TMP}/alltests.tmp;;
> >                2)
> > -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
> > +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
> >                cp ${TMP}/alltests.tmp ${TMP}/alltests
> >                rm -rf ${TMP}/alltests.tmp;;
> >                3)
> > -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
> > +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
> >                cp ${TMP}/alltests.tmp ${TMP}/alltests
> >                rm -rf ${TMP}/alltests.tmp;;
> >                *) echo "Invalid Memory Check Type, or, Valgrind is not available";;
> > @@ -859,7 +859,7 @@ main()
> >        export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
> >        export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
> >        echo "Generating HTML Output.....!!"
> > -       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
> > +       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )   
> >        echo "Generated HTML Output.....!!"
> >        echo "Location: $HTMLFILE";
> > 
> > ---
> > 
> > Regards--
> > Subrata
> > 
> > 
> > ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Ltp-list mailing list
> > Ltp-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LTP] [PATCH] Fix Usage Reference of those tools utilities
  2011-02-14  6:58   ` Subrata Modak
@ 2011-02-14  7:25     ` Garrett Cooper
  0 siblings, 0 replies; 4+ messages in thread
From: Garrett Cooper @ 2011-02-14  7:25 UTC (permalink / raw
  To: subrata; +Cc: LTP Mailing List

    Must have been an iPhone or other PEBKAC fail. Sure, looks good.
Thanks,
-Garrett

On Sun, Feb 13, 2011 at 10:58 PM, Subrata Modak
<subrata@linux.vnet.ibm.com> wrote:
> Garret,
>
> Did you mean to comment something ? I did not receive any feedback in
> the mail, just blank reply :-(
>
> Regards--
> Subrata
>
> On Sat, 2011-02-12 at 11:13 -0800, Garrett Cooper wrote:
>> On Feb 12, 2011, at 9:58 AM, Subrata Modak <subrata@linux.vnet.ibm.com> wrote:
>>
>> > Useful scripts under ltp/tools are no more installed @{LTP_ROOT}/tools,
>> > they are done under @{LTP_ROOT}/bin. Change their reference accordingly
>> > inside 'runltp' script. Nobody noticed this early as probably these
>> > options are least used in LTP ;-)
>> >
>> > Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>
>> >
>> > ---
>> > diff --git a/runltp b/runltp
>> > index 2c6785f..381e123 100755
>> > --- a/runltp
>> > +++ b/runltp
>> > @@ -779,7 +779,7 @@ main()
>> >            #Go ahead to Inject Fault & Create required
>> >            #Command Files for LTP run
>> >            echo Running tests with Fault Injection Enabled in the Kernel...
>> > -            ${LTPROOT}/tools/create_kernel_faults_in_loops_and_probability.pl\
>> > +            ${LTPROOT}/bin/create_kernel_faults_in_loops_and_probability.pl\
>> >                ${TMP}/alltests $INJECT_FAULT_LOOPS_PER_TEST $INJECT_KERNEL_FAULT_PERCENTAGE > ${TMP}/alltests.tmp
>> >            cp ${TMP}/alltests.tmp ${TMP}/alltests
>> >            rm -rf ${TMP}/alltests.tmp
>> > @@ -796,15 +796,15 @@ main()
>> >            which valgrind || VALGRIND_CHECK_TYPE=XYZ
>> >            case $VALGRIND_CHECK_TYPE in
>> >                1)
>> > -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
>> > +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 1 > ${TMP}/alltests.tmp
>> >                cp ${TMP}/alltests.tmp ${TMP}/alltests
>> >                rm -rf ${TMP}/alltests.tmp;;
>> >                2)
>> > -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
>> > +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 2 > ${TMP}/alltests.tmp
>> >                cp ${TMP}/alltests.tmp ${TMP}/alltests
>> >                rm -rf ${TMP}/alltests.tmp;;
>> >                3)
>> > -                ${LTPROOT}/tools/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
>> > +                ${LTPROOT}/bin/create_valgrind_check.pl ${TMP}/alltests 3 > ${TMP}/alltests.tmp
>> >                cp ${TMP}/alltests.tmp ${TMP}/alltests
>> >                rm -rf ${TMP}/alltests.tmp;;
>> >                *) echo "Invalid Memory Check Type, or, Valgrind is not available";;
>> > @@ -859,7 +859,7 @@ main()
>> >        export TEST_OUTPUT_DIRECTORY="$LTPROOT/output"
>> >        export TEST_LOGS_DIRECTORY=$LOGS_DIRECTORY
>> >        echo "Generating HTML Output.....!!"
>> > -       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/tools/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )
>> > +       ( perl $LTPROOT/bin/genhtml.pl $LTPROOT/bin/html_report_header.txt test_start test_end test_output execution_status $OUTPUT_DIRECTORY  > $HTMLFILE; )
>> >        echo "Generated HTML Output.....!!"
>> >        echo "Location: $HTMLFILE";
>> >
>> > ---
>> >
>> > Regards--
>> > Subrata
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> > Pinpoint memory and threading errors before they happen.
>> > Find and fix more than 250 security defects in the development cycle.
>> > Locate bottlenecks in serial and parallel code that limit performance.
>> > http://p.sf.net/sfu/intel-dev2devfeb
>> > _______________________________________________
>> > Ltp-list mailing list
>> > Ltp-list@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/ltp-list
>
>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-14  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 17:58 [LTP] [PATCH] Fix Usage Reference of those tools utilities Subrata Modak
2011-02-12 19:13 ` Garrett Cooper
2011-02-14  6:58   ` Subrata Modak
2011-02-14  7:25     ` Garrett Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.