[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] [PATCH] drop redudant copies of fsx-linux.c
From:       CAI Qian <caiqian () cclom ! cn>
Date:       2008-10-30 10:11:40
Message-ID: 339345.96124.qm () web1104 ! biz ! mail ! sk1 ! yahoo ! com
[Download RAW message or body]


--- Daniel Gollub <dgollub@suse.de> wrote:

> Hi,
> 
> this patch drops the redudant copies (in total three copies of
> fsx-linux.c
> from:
> 
> - testcases/kernel/io/ltp-aiodio/
> - testcases/network/nfs/fsx-linux
> 
> The only copy of fsx-linux.c will stay in:
> - testcases/kernel/fs/fsx-linux/fsx-linux.c
> 
> Attachted patch adapt the TCbin= variable of the runtests file to the
> install target
> "$LTPROOT/testcases/bin" to find the (shared) build of fsx-linux.
> 
> Signed-off-by: Daniel Gollub <dgollub@suse.de>
> 

Acked-by: CAI Qian <caiqian@cclom.cn>

> ---
>  runtest/fsx                                 |    2 
>  runtest/ltp-aiodio.part3                    |   96 -
>  runtest/ltplite                             |    2 
>  runtest/nfs                                 |    2 
>  runtest/stress.part1                        |   10 
>  testcases/kernel/io/ltp-aiodio/Makefile     |    5 
>  testcases/kernel/io/ltp-aiodio/fsx-linux.c  | 1417
> ----------------------------
>  testcases/network/nfs/fsx-linux/fsx-linux.c | 1417
> ----------------------------
>  8 files changed, 57 insertions(+), 2894 deletions(-)
> 
> Index: ltp-full-20081029/runtest/fsx
> ===================================================================
> --- ltp-full-20081029.orig/runtest/fsx
> +++ ltp-full-20081029/runtest/fsx
> @@ -1,5 +1,5 @@
>  #DESCRIPTION:fsx filesystem stress tests
> -fsx-linux export
> TCbin=$LTPROOT/testcases/kernel/fs/fsx-linux;fsxtest02 10000
> +fsx-linux export TCbin=$LTPROOT/testcases/bin;fsxtest02 10000
>  #fsx-ext2 fsxtest $SCRATCHDEV ext2 10000
>  #fsx-ext3 fsxtest $SCRATCHDEV ext3 10000
>  #fsx-jfs fsxtest $SCRATCHDEV jfs 10000
> Index: ltp-full-20081029/runtest/ltp-aiodio.part3
> ===================================================================
> --- ltp-full-20081029.orig/runtest/ltp-aiodio.part3
> +++ ltp-full-20081029/runtest/ltp-aiodio.part3
> @@ -1,51 +1,51 @@
>  #           fname:  this filename is Required (no default)
>  #
>  #
> -FSX032 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -l 500000 -r
> 4096 -t 4096 -w 4096 -N 10000 /test/aiodio/junkfile 
> -FSX033 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -l 500000 -r
> 4096 -t 2048 -w 2048 -N 10000 /test/aiodio/junkfile 
> -FSX034 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -l 500000 -r
> 4096 -N 10000 /test/aiodio/junkfile 
> -FSX035 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -N 10000
> /test/aiodio/junkfile 
> -FSX036 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -N 10000
> /test/aiodio/junkfile 
> -FSX037 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -N 10000
> /test/aiodio/junkfile 
> -FSX038 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -N 10000
> /test/aiodio/junkfile 
> -FSX039 testcases/kernel/io/ltp-aiodio/fsx-linux -d  -N 10000
> /test/aiodio/junkfile 
> -FSX040 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 1024
> /test/aiodio/junkfile 
> -FSX041 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 2048
> /test/aiodio/junkfile 
> -FSX042 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 4096
> /test/aiodio/junkfile 
> -FSX043 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 8192
> /test/aiodio/junkfile 
> -FSX044 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 16384
> /test/aiodio/junkfile 
> -FSX045 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 32768
> /test/aiodio/junkfile 
> -FSX046 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 128000
> /test/aiodio/junkfile 
> -FSX047 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 1024
> /test/aiodio/junkfile 
> -FSX048 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 2048
> /test/aiodio/junkfile 
> -FSX049 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 4096
> /test/aiodio/junkfile 
> -FSX050 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 8192
> /test/aiodio/junkfile 
> -FSX051 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 16384
> /test/aiodio/junkfile 
> -FSX052 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 32768
> /test/aiodio/junkfile 
> -FSX053 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 128000
> /test/aiodio/junkfile 
> -FSX054 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 1024 -l
> 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile 
> -FSX055 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 2048 -l
> 500000 -r 4096 -t 2048 -w 2048 /test/aiodio/junkfile 
> -FSX056 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 4096 -l
> 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile 
> -FSX057 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 8192 -l
> 500000 -r 4096 -t 2048 -w 2048 /test/aiodio/junkfile 
> -FSX058 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 16384
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile 
> -FSX059 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 32768
> -l 500000 -r 4096 -t 2048 -w 2048 /test/aiodio/junkfile 
> -FSX060 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 128000
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile 
> -FSX061 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 32768
> /test/aiodio/junkfile                                          
> -FSX062 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000 -o 128000
> /test/aiodio/junkfile                                         
> -FSX063 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 1024 
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile   
> -FSX064 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 2048 -l
> 500000 -r 4096 -t 2048 -w 2048 /test/aiodio/junkfile   
> -FSX065 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 4096 -l
> 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile   
> -FSX066 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 8192 
> -l 500000 -r 4096 -t 2048 -w 2048 /test/aiodio/junkfile    
> -FSX067 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 16384
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile   
> -FSX068 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 32768
> -l 500000 -r 4096 -t 2048 -w 2048 /test/aiodio/junkfile   
> -FSX069 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 128000
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile  
> -FSX070 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 128000
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile   
> -FSX071 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 16384
> -l 500000 -r 4096 -t 4096 -w 4096   /test/aiodio/junkfile1 
> -FSX072 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 32768
> -l 500000 -r 4096 -t 2048 -w 2048   /test/aiodio/junkfile2 
> -FSX073 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 128000
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile3 
> -FSX074 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 16384
> -l 500000 -r 4096 -t 4096 -w 4096   /test/aiodio/junkfile4 
> -FSX075 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 32768
> -l 500000 -r 4096 -t 2048 -w 2048   /test/aiodio/junkfile5 
> -FSX076 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  -o 128000
> -l 500000 -r 4096 -t 4096 -w 4096 /test/aiodio/junkfile6 
> -FSX077 testcases/kernel/io/ltp-aiodio/fsx-linux -N 10000  
> /test/aiodio/junkfile7 
> -FSX078 testcases/kernel/io/ltp-aiodio/fsx-linux -N 100000 
> /test/aiodio/junkfile8 
> -FSX079 testcases/kernel/io/ltp-aiodio/fsx-linux -N 100000 
> /test/aiodio/junkfile9 
> +FSX032 fsx-linux -d  -l 500000 -r 4096 -t 4096 -w 4096 -N 10000
> /test/aiodio/junkfile 
> +FSX033 fsx-linux -d  -l 500000 -r 4096 -t 2048 -w 2048 -N 10000
> /test/aiodio/junkfile 
> +FSX034 fsx-linux -d  -l 500000 -r 4096 -N 10000
> /test/aiodio/junkfile 
> +FSX035 fsx-linux -d  -N 10000 /test/aiodio/junkfile 
> +FSX036 fsx-linux -d  -N 10000 /test/aiodio/junkfile 
> +FSX037 fsx-linux -d  -N 10000 /test/aiodio/junkfile 
> +FSX038 fsx-linux -d  -N 10000 /test/aiodio/junkfile 
> +FSX039 fsx-linux -d  -N 10000 /test/aiodio/junkfile 
> +FSX040 fsx-linux -N 10000 -o 1024 /test/aiodio/junkfile 
> +FSX041 fsx-linux -N 10000 -o 2048 /test/aiodio/junkfile 
> +FSX042 fsx-linux -N 10000 -o 4096 /test/aiodio/junkfile 
> +FSX043 fsx-linux -N 10000 -o 8192 /test/aiodio/junkfile 
> +FSX044 fsx-linux -N 10000 -o 16384 /test/aiodio/junkfile 
> +FSX045 fsx-linux -N 10000 -o 32768 /test/aiodio/junkfile 
> +FSX046 fsx-linux -N 10000 -o 128000 /test/aiodio/junkfile 
> +FSX047 fsx-linux -N 10000 -o 1024 /test/aiodio/junkfile 
> +FSX048 fsx-linux -N 10000 -o 2048 /test/aiodio/junkfile 
> +FSX049 fsx-linux -N 10000 -o 4096 /test/aiodio/junkfile 
> +FSX050 fsx-linux -N 10000 -o 8192 /test/aiodio/junkfile 
> +FSX051 fsx-linux -N 10000 -o 16384 /test/aiodio/junkfile 
> +FSX052 fsx-linux -N 10000 -o 32768 /test/aiodio/junkfile 
> +FSX053 fsx-linux -N 10000 -o 128000 /test/aiodio/junkfile 
> +FSX054 fsx-linux -N 10000  -o 1024 -l 500000 -r 4096 -t 4096 -w 4096
> /test/aiodio/junkfile 
> +FSX055 fsx-linux -N 10000  -o 2048 -l 500000 -r 4096 -t 2048 -w 2048
> /test/aiodio/junkfile 
> +FSX056 fsx-linux -N 10000  -o 4096 -l 500000 -r 4096 -t 4096 -w 4096
> /test/aiodio/junkfile 
> +FSX057 fsx-linux -N 10000  -o 8192 -l 500000 -r 4096 -t 2048 -w 2048
> /test/aiodio/junkfile 
> +FSX058 fsx-linux -N 10000  -o 16384 -l 500000 -r 4096 -t 4096 -w
> 4096 /test/aiodio/junkfile 
> +FSX059 fsx-linux -N 10000  -o 32768 -l 500000 -r 4096 -t 2048 -w
> 2048 /test/aiodio/junkfile 
> +FSX060 fsx-linux -N 10000  -o 128000 -l 500000 -r 4096 -t 4096 -w
> 4096 /test/aiodio/junkfile 
> +FSX061 fsx-linux -N 10000 -o 32768 /test/aiodio/junkfile            
>                              
> +FSX062 fsx-linux -N 10000 -o 128000 /test/aiodio/junkfile           
>                              
> +FSX063 fsx-linux -N 10000  -o 1024  -l 500000 -r 4096 -t 4096 -w
> 4096 /test/aiodio/junkfile   
> +FSX064 fsx-linux -N 10000  -o 2048 -l 500000 -r 4096 -t 2048 -w 2048
> /test/aiodio/junkfile   
> +FSX065 fsx-linux -N 10000  -o 4096 -l 500000 -r 4096 -t 4096 -w 4096
> /test/aiodio/junkfile   
> +FSX066 fsx-linux -N 10000  -o 8192  -l 500000 -r 4096 -t 2048 -w
> 2048 /test/aiodio/junkfile    
> +FSX067 fsx-linux -N 10000  -o 16384 -l 500000 -r 4096 -t 4096 -w
> 4096 /test/aiodio/junkfile   
> +FSX068 fsx-linux -N 10000  -o 32768 -l 500000 -r 4096 -t 2048 -w
> 2048 
=== message truncated ===



-------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic