On Wed, 19 Aug 2009, Paul Larson wrote:
> Here's the fixed version, forgot I needed to redo these...
> 
> If you run file_test.sh on a system without rpm installed, it should
> return tconf instead of tfail.
> 
> Signed-off-by: Paul Larson <[email protected]>
> ---

> index 4fc9dec..4e30d43 100755
> --- a/testcases/commands/ade/file/file_test.sh
> +++ b/testcases/commands/ade/file/file_test.sh
> @@ -582,11 +587,7 @@ fi
>  export TCID=file10
>  export TST_COUNT=10
>  
> -if [ -f /etc/redhat-release ]; then
> -   KERNEL=vmlinuz
> -else
> -   KERNEL=vmlinux
> -fi
> +KERNEL=vmlinu
>  
>  $LTPBIN/tst_resm TINFO "TEST #10: file command recognizes $KERNEL file"

I guess this change was not supposed to be part of this patch?

Not that I'm complaining, as it fixes another vmlinuz vs. vmlinux mismatch I
was seeing ;-)

With kind regards,

Geert Uytterhoeven
Software Architect
Techsoft Centre

Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   [email protected]
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to