unarchive 833608
notfixed 833608 2.5.90
thanks

Hi,

I don't think this bug is fixed.  If I apply the following patch to
the test case, which seems to match the original report, it generates
the following error:

``` .... running tests ....  mkdir -p "/tmp/lintian/debian/test-out"
t/runtests -k t "/tmp/lintian/debian/test-out" version-substvars
ENV[PATH]=/home/kraai/.cargo/bin:/home/kraai/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
S tests::version-substvars-general: diff -u
/tmp/lintian/t/tests/version-substvars-general/tags
/tmp/lintian/debian/test-out/tests/version-substvars-general/tags.version-substvars-general
--- /tmp/lintian/t/tests/version-substvars-general/tags 2018-12-15
16:38:52.579289278 -0800 +++
/tmp/lintian/debian/test-out/tests/version-substvars-general/tags.version-substvars-general
2018-12-15 16:41:52.185728852 -0800 @@ -4,4 +4,5 @@
 E: version-substvars-general source: not-binnmuable-any-depends-any 
program-utils -> program-bin
 E: version-substvars-general source: version-substvar-for-external-package 
program-data -> foreign-pkg
 E: version-substvars-general source: version-substvar-for-external-package 
program-data -> other-foreign-pkg
+E: version-substvars-general source: version-substvar-for-external-package 
program-data -> provided-package
 X: version-substvars-general source: maybe-not-arch-all-binnmuable program-bin 
-> program-data-extra
fail tests::version-substvars-general: output differs!

Skipped/disabled tests:
  [tests]
    version-substvars-obsolete: Unmet test dependencies: dpkg (<< 1.17.2)

Failed tests (1)
    tests::version-substvars-general
make: *** [debian/rules:51: runtests] Error 1
```

-- 
Matt

diff --git a/t/tests/version-substvars-general/debian/control.in 
b/t/tests/version-substvars-general/debian/control.in
index eff741f68..5baf439cd 100644
--- a/t/tests/version-substvars-general/debian/control.in
+++ b/t/tests/version-substvars-general/debian/control.in
@@ -11,7 +11,7 @@ Architecture: any
 Depends: $\{shlibs:Depends\}, $\{misc:Depends\},
          program-data (= $\{binary:Version\}),
          program-data-extra (= $\{source:Version\})
-Provides: provided-package
+Provides: provided-package (= $\{binary:Version\})
 Description: {$description}
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd

Reply via email to