[Git][haskell-team/DHG_packages][master] debian: fix testsuite
Clint Adams
gitlab at salsa.debian.org
Sat Aug 10 22:50:30 BST 2019
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
6aa8aa0e by Clint Adams at 2019-08-10T21:50:11Z
debian: fix testsuite
- - - - -
3 changed files:
- p/haskell-debian/debian/changelog
- + p/haskell-debian/debian/patches/fix-testsuite
- p/haskell-debian/debian/patches/series
Changes:
=====================================
p/haskell-debian/debian/changelog
=====================================
@@ -1,9 +1,10 @@
-haskell-debian (3.95-2) UNRELEASED; urgency=medium
+haskell-debian (3.95-2) unstable; urgency=medium
+ [ Ilias Tsitsimpis ]
* Remove Dmitry Bogatov from Uploaders per his request. Thank you
Dmitry for your previous maintainership.
- -- Ilias Tsitsimpis <iliastsi at debian.org> Tue, 30 Jul 2019 13:10:16 +0300
+ -- Clint Adams <clint at debian.org> Sat, 10 Aug 2019 17:47:50 -0400
haskell-debian (3.95-1) unstable; urgency=medium
=====================================
p/haskell-debian/debian/patches/fix-testsuite
=====================================
@@ -0,0 +1,16 @@
+--- a/Test/Control.hs
++++ b/Test/Control.hs
+@@ -53,11 +53,11 @@
+ , TestCase (parseDebianControlFromFile "Test/Control.hs" >>= \ vc ->
+ assertEqual "policy4"
+ -- Exceptions have bogus Eq instances, so we need to show then compare.
+- "Left \"./Debian/Control/Policy.hs\"(line 77, column 54): ParseControlError \"Test/Control.hs\" (line 0, column 0):\nFailed to parse Test/Control.hs"
++ "Left \"src/Debian/Control/Policy.hs\"(line 77, column 54): ParseControlError \"Test/Control.hs\" (line 0, column 0):\nFailed to parse Test/Control.hs"
+ (show (either Left (either Left Right . debianRelations "Foo") vc)))
+ , TestCase (parseDebianControlFromFile "nonexistant" >>= \ vc ->
+ assertEqual "policy5"
+- "Left \"./Debian/Control/Policy.hs\"(line 76, column 36): IOError nonexistant: openBinaryFile: does not exist (No such file or directory)"
++ "Left \"src/Debian/Control/Policy.hs\"(line 76, column 36): IOError nonexistant: openBinaryFile: does not exist (No such file or directory)"
+ (replaceString "openFile" "openBinaryFile"
+ (show (either Left (debianRelations "Foo") (vc :: Either ControlFileError DebianControl)))))
+
=====================================
p/haskell-debian/debian/patches/series
=====================================
@@ -1 +1,2 @@
threaded-option
+fix-testsuite
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/6aa8aa0ee2ec7c509b5bf21ff58c7f9b06bed101
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/6aa8aa0ee2ec7c509b5bf21ff58c7f9b06bed101
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190810/e7c0d4e6/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list