~ubuntu-branches/ubuntu/trusty/proftpd-dfsg/trusty

« back to all changes in this revision

Viewing changes to tests/t/lib/ProFTPD/Tests/Commands/APPE.pm

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-10-06 12:57:29 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20111006125729-wiq6d3yzf2ensafj
Tags: 1.3.4~rc3-1
* New upstream pre-release.
* Refreshed all patches.
* Changed patch xferstats.holger-preiss to fix a few warnings and use
  Getopt::Std instead of the old getopts.pl which will be removed soon or
  later in perl5. Thanks lintian.
* Policy bumped to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
 
737
737
      my $test_sz2 = length($buf);
738
738
      $expected = $test_sz2;
739
 
      my $test_sz = -s $test_file2;
 
739
      $test_sz = -s $test_file2;
740
740
      $self->assert($expected == $test_sz,
741
741
        test_msg("Expected $expected bytes, got $test_sz bytes"));
742
742
 
763
763
        test_msg("Expected '$expected', got '$resp_msg'"));
764
764
 
765
765
      $expected = $test_sz1 + length($buf);
766
 
      my $test_sz = -s $test_file1;
 
766
      $test_sz = -s $test_file1;
767
767
      $self->assert($expected == $test_sz,
768
768
        test_msg("Expected $expected bytes, got $test_sz bytes"));
769
769
 
790
790
        test_msg("Expected '$expected', got '$resp_msg'"));
791
791
 
792
792
      $expected = $test_sz2;
793
 
      my $test_sz = -s $test_file2;
 
793
      $test_sz = -s $test_file2;
794
794
      $self->assert($expected == $test_sz,
795
795
        test_msg("Expected $expected bytes, got $test_sz bytes"));
796
796
    };