diff options
author | David Kalnischkies <david@kalnischkies.de> | 2022-03-28 15:47:45 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2022-04-01 14:16:19 +0200 |
commit | 2005f1c263a942b37d179b9b8f9b7ab343ca7459 (patch) | |
tree | c8112982187dc69b233535a1e22503ce8759a460 /test | |
parent | 7b8da771e2061462b9196f38366c34e4f919d0df (diff) |
Do not order long obsoleted fields anymore
The dependency relation fields old names were deprecated in 1995
as the new ones were introduced. That seems barely long enough now
as a transition period.
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-apt-tagfile-fields-order | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-tagfile-fields-order b/test/integration/test-apt-tagfile-fields-order index 54e545c8a..aa817147d 100755 --- a/test/integration/test-apt-tagfile-fields-order +++ b/test/integration/test-apt-tagfile-fields-order @@ -100,7 +100,7 @@ else msgpass msgtest 'Check that apt knows about all fields' 'dpkg parses' sed -n 's#^.*FIELD("\(.*\)").*$#\1#p' "${DPKG_SOURCE_PARSE_C}" | sort -u > dpkg.lst - sed -ne 's#^ "\(.*\)",.*$#\1#p' "${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c" | sed -n '/^Package$/,/^Package$/ p' | head -n -1 | sort > apt.lst + sed -n -e's#^ *// *"# "#' -e 's#^ "\(.*\)",.*$#\1#p' "${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c" | sed -n '/^Package$/,/^Package$/ p' | head -n -1 | sort > apt.lst comparelsts fi |