~ubuntu-branches/ubuntu/lucid/dpkg/lucid

« back to all changes in this revision

Viewing changes to scripts/t/600_Dpkg_Changelog.t

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-09-18 13:39:36 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20090918133936-dj8kjtc2qz3yqj7i
Tags: 1.15.4ubuntu1
* Resynchronise with Debian (LP: #427854). Remaining changes:
  Ubuntu-specific adjustments (probably):
  - Use i686 for lpia in cputable and triplettable.
  - Hack Dpkg::Arch to return i686 for lpia.
  - Move various Conflicts to Breaks, since upgrades from stable Ubuntu
    releases support Breaks.

  Miscellaneous bug fixes:
  - Avoid duplicate attempts to [f]close in obscure error situations which
    might conceiveably close wrong fds.
  - Revert change to stop outputting a newline after a postinst is run
    (Debian #392317).
  - Use the two-arg form of open in Dpkg::Control so that "-" can be
    passed to parse stdin as a control file (Debian #465340).

  Launchpad integration:
  - Add Launchpad-Bugs-Fixed handling in a few more places.

  Build options:
  - Point to https://wiki.ubuntu.com/DistCompilerFlags from
    dpkg-buildpackage(1).
  - Set default LDFLAGS to -Wl,-Bsymbolic-functions. (We've already taken
    this hit in Ubuntu.)
  - Implement handling of hardening-wrapper options via DEB_BUILD_OPTIONS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    my $no_err_examples = 1;
11
11
    my $no_tests = $no_examples * 4
12
12
        + $no_err_examples * 2
13
 
        + 24 # countme
 
13
        + 26 # countme
14
14
        +  2 # fields
15
15
        + 24;
16
16
 
150
150
                       { since => '1:2.0~rc2-1sarge3' }, 3,
151
151
                       '2:2.0-1/1:2.0~rc2-3/1:2.0~rc2-2',
152
152
                       'since => "1:2.0~rc2-1sarge3"' );
 
153
        $SIG{'__WARN__'} = sub {};
 
154
        check_options( $changes, \@data,
 
155
                       { since => 0 }, 7, '',
 
156
                       'since => 0 returns all');
 
157
        delete $SIG{'__WARN__'};
153
158
        check_options( $changes, \@data,
154
159
                       { to => '1:2.0~rc2-1sarge2' }, 3,
155
160
                       '1:2.0~rc2-1sarge2/1:2.0~rc2-1sarge1/1.5-1',