/[rdiff-backup]/rdiff-backup/testing/finaltest.py
ViewVC logotype

Diff of /rdiff-backup/testing/finaltest.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by bescoto, Mon Oct 24 06:31:28 2005 UTC revision 1.39 by bescoto, Mon Oct 31 04:53:31 2005 UTC
# Line 447  class FinalMisc(PathSetter): Line 447  class FinalMisc(PathSetter):
447                  for inc in self.get_all_increments(rbdir):                  for inc in self.get_all_increments(rbdir):
448                          assert inc.getinctime() >= 20000                          assert inc.getinctime() >= 20000
449    
         def testCompare(self):  
                 """Test --compare and --compare-older-than modes"""  
                 Myrm("testfiles/output")  
                 self.set_connections(None, None, None, None)  
                 self.exec_rb(10000, 'testfiles/increment1', 'testfiles/output')  
                 self.exec_rb(20000, 'testfiles/increment2', 'testfiles/output')  
   
                 self.exec_rb_extra_args_retval(20000, '--compare', 0,  
                                          'testfiles/increment2', 'testfiles/output')  
                 self.exec_rb_extra_args_retval(20000, '--compare', 1,  
                                          'testfiles/increment1', 'testfiles/output')  
                 self.exec_rb_extra_args_retval(20000, '--compare-at-time 10000', 1,  
                                          'testfiles/increment2', 'testfiles/output')  
                 self.exec_rb_extra_args_retval(20000, '--compare-at-time 10000', 0,  
                                          'testfiles/increment1', 'testfiles/output')  
   
450    
451  class FinalSelection(PathSetter):  class FinalSelection(PathSetter):
452          """Test selection options"""          """Test selection options"""

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26