aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/load/1/math/libexp-+2-1.2+1.tar.gzbin367 -> 368 bytes
-rw-r--r--tests/load/1/math/libstudxml-1.0.0+1.tar.gzbin429 -> 456 bytes
-rw-r--r--tests/load/1/math/packages.manifest18
-rw-r--r--tests/load/driver.cxx25
4 files changed, 26 insertions, 17 deletions
diff --git a/tests/load/1/math/libexp-+2-1.2+1.tar.gz b/tests/load/1/math/libexp-+2-1.2+1.tar.gz
index 56f877e..e8b9183 100644
--- a/tests/load/1/math/libexp-+2-1.2+1.tar.gz
+++ b/tests/load/1/math/libexp-+2-1.2+1.tar.gz
Binary files differ
diff --git a/tests/load/1/math/libstudxml-1.0.0+1.tar.gz b/tests/load/1/math/libstudxml-1.0.0+1.tar.gz
index c351fa5..41c9637 100644
--- a/tests/load/1/math/libstudxml-1.0.0+1.tar.gz
+++ b/tests/load/1/math/libstudxml-1.0.0+1.tar.gz
Binary files differ
diff --git a/tests/load/1/math/packages.manifest b/tests/load/1/math/packages.manifest
index 3ac5efd..fea801f 100644
--- a/tests/load/1/math/packages.manifest
+++ b/tests/load/1/math/packages.manifest
@@ -8,15 +8,15 @@ summary: The exponent
license: MIT
tags: mathlab, c++, exponent
description: The exponent math function.
-url: http://www.exp.com
-email: users@exp.com
-build-email: builds@exp.com
+url: http://exp.example.com
+email: users@exp.example.com
+build-email: builds@exp.example.com
depends: libmisc
depends: libpq >= 9.0.0
build-exclude: *; Only supported on Linux.
build-include: linux*
location: libexp-+2-1.2+1.tar.gz
-sha256sum: bc68940a1b3b7e345cbceac35d308b4e04b304f49ff2087340949f2879709967
+sha256sum: 9449cb008ca8cc3b91fbe5c44ae87f0e10fd24ff453bb88cf4504dabe2068eb3
:
name: libfoo
version: +0-X.Y
@@ -113,10 +113,12 @@ summary: Modern C++ XML API
license: MIT
tags: c++, xml, parser, serializer, pull, streaming, modern
url: http://www.codesynthesis.com/projects/libstudxml/
-email: studxml-users@codesynthesis.com; Public mailing list, posts by\
- non-members are allowed but moderated.
-package-email: boris@codesynthesis.com; Direct email to the author.
+email: studxml-users@example.com; Public mailing list, posts by non-members\
+ are allowed but moderated.
+package-email: studxml-package@example.com; Direct email to the packager.
+build-warning-email: studxml-warnings@example.com
+build-error-email: studxml-errors@example.com
depends: libexpat >= 2.0.0
depends: libgenx
location: libstudxml-1.0.0+1.tar.gz
-sha256sum: cfa4b1f89f8e903d48eff1e1d14628c32aa4d126d09b0b056d2cd80f8dc78580
+sha256sum: 1833906dd93ccc0cda832d6a1b3ef9ed7877bb9958b46d9b2666033d4a7919c9
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index a36653c..7009d9e 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -628,13 +628,20 @@ test_pkg_repos (const cstrings& loader_args,
assert (xpv->url &&
*xpv->url == "http://www.codesynthesis.com/projects/libstudxml/");
assert (!xpv->package_url);
- assert (xpv->email && *xpv->email ==
- email ("studxml-users@codesynthesis.com",
+ assert (xpv->email && *xpv->email == email ("studxml-users@example.com",
"Public mailing list, posts by non-members "
"are allowed but moderated."));
+
assert (xpv->package_email &&
- *xpv->package_email == email ("boris@codesynthesis.com",
- "Direct email to the author."));
+ *xpv->package_email == email ("studxml-package@example.com",
+ "Direct email to the packager."));
+ assert (xpv->build_warning_email &&
+ *xpv->build_warning_email ==
+ email ("studxml-warnings@example.com"));
+
+ assert (xpv->build_error_email &&
+ *xpv->build_error_email ==
+ email ("studxml-errors@example.com"));
assert (xpv->internal_repository.load () == mr);
assert (xpv->other_repositories.empty ());
@@ -660,7 +667,7 @@ test_pkg_repos (const cstrings& loader_args,
assert (check_location (xpv));
assert (xpv->sha256sum && *xpv->sha256sum ==
- "cfa4b1f89f8e903d48eff1e1d14628c32aa4d126d09b0b056d2cd80f8dc78580");
+ "1833906dd93ccc0cda832d6a1b3ef9ed7877bb9958b46d9b2666033d4a7919c9");
// Verify libfoo package versions.
//
@@ -790,11 +797,11 @@ test_pkg_repos (const cstrings& loader_args,
assert (epv->tags == strings ({"mathlab", "c++", "exponent"}));
assert (epv->description && *epv->description ==
"The exponent math function.");
- assert (epv->url && *epv->url == "http://www.exp.com");
+ assert (epv->url && *epv->url == "http://exp.example.com");
assert (!epv->package_url);
- assert (epv->email && *epv->email == email ("users@exp.com"));
+ assert (epv->email && *epv->email == email ("users@exp.example.com"));
assert (!epv->package_email);
- assert (epv->build_email && *epv->build_email == "builds@exp.com");
+ assert (epv->build_email && *epv->build_email == "builds@exp.example.com");
assert (epv->internal_repository.load () == mr);
assert (epv->other_repositories.empty ());
@@ -827,7 +834,7 @@ test_pkg_repos (const cstrings& loader_args,
assert (check_location (epv));
assert (epv->sha256sum && *epv->sha256sum ==
- "bc68940a1b3b7e345cbceac35d308b4e04b304f49ff2087340949f2879709967");
+ "9449cb008ca8cc3b91fbe5c44ae87f0e10fd24ff453bb88cf4504dabe2068eb3");
// Verify libpq package version.
//