bugAtheist - Bugs: bug #28826, New feature: Condition: Comparing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28826: New feature: Condition: Comparing two files

Submitted by:  Louis <spalax>
Submitted on:  Sat 06 Feb 2010 12:51:45 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: David Villa <dvilla>
Open/Closed: Closed

Mon 21 Jun 2010 11:22:55 AM UTC, comment #1:

The condition name is FileEquals. See documentation.

David Villa <dvilla>
Project AdministratorIn charge of this item.
Sat 06 Feb 2010 12:51:45 AM UTC, original submission:

Hello,
I needed a condition that was not present by default, and that I think may be useful: comparing two files.
The way I use it is if I want to check that output exactly matches a predefined output (can also be used to check that a generated file is exactly as expected).

> t = Task('echo "Hello, world!"', stdout="out")
> t.post += FileEqual("out", "out.ctrl")


I am joining the modifications I did, in the case it would interest you.
I am using version 0.20091130, packaged for Debian (I wanted to check with the latest version, but I could not find it).

If you have any question, do not hesitate to contact me.

Regards,
Louis

Louis <spalax>

 

Attached Files
file #19630:  atheist.diff.0.20091130 added by spalax (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dvilla (Updated the item)
  • -unavailable- added by spalax (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Jun 2010 11:23:52 AM UTCdvillaOpen/ClosedOpen=>Closed
    Mon 21 Jun 2010 11:22:55 AM UTCdvillaStatusIn Progress=>Fixed
    Sat 06 Feb 2010 02:53:37 AM UTCdvillaSeverity3 - Normal=>1 - Wish
      StatusNone=>In Progress
      Assigned toNone=>dvilla
    Sat 06 Feb 2010 12:51:45 AM UTCspalaxAttached File-=>Added atheist.diff.0.20091130, #19630

    Back to the top


    Powered by Savane 3.1-cleanup1