public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Paul Larson <paul.larson@canonical.com>
To: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: LTP Mailing List <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] fix for file_test for systems without rpm installed
Date: Wed, 26 Aug 2009 11:09:25 -0500	[thread overview]
Message-ID: <4A955E35.9010001@canonical.com> (raw)
In-Reply-To: <alpine.LRH.2.00.0908261748140.17269@vixen.sonytel.be>

Geert Uytterhoeven wrote:
> 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 <paul.larson@canonical.com>
>> ---
> 
>> 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 ;-)
Ha, yeah I just forgot to mention it too.  And that was exactly the
reason for it.

------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2009-08-26 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 18:19 [LTP] fix for file_test for systems without rpm installed Paul Larson
2009-08-23  7:28 ` Subrata Modak
2009-08-26 15:52 ` Geert Uytterhoeven
2009-08-26 16:09   ` Paul Larson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A955E35.9010001@canonical.com \
    --to=paul.larson@canonical.com \
    --cc=Geert.Uytterhoeven@sonycom.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox