aboutsummaryrefslogtreecommitdiff
path: root/tests/load
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-24 19:08:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-24 19:08:29 +0300
commit581de7e14caeb79104702db4ce30d190b629059c (patch)
tree6d0476c352036b3bb91e33b623002845728773df /tests/load
parentad7db3fcfef37bbec796cfd47933ca6393200dd8 (diff)
Add build-email value to package details page
Diffstat (limited to 'tests/load')
-rw-r--r--tests/load/1/math/libexp-1~1.2+1.tar.gzbin302 -> 315 bytes
-rw-r--r--tests/load/1/math/packages3
-rw-r--r--tests/load/driver.cxx3
3 files changed, 4 insertions, 2 deletions
diff --git a/tests/load/1/math/libexp-1~1.2+1.tar.gz b/tests/load/1/math/libexp-1~1.2+1.tar.gz
index 937a084..1e1807f 100644
--- a/tests/load/1/math/libexp-1~1.2+1.tar.gz
+++ b/tests/load/1/math/libexp-1~1.2+1.tar.gz
Binary files differ
diff --git a/tests/load/1/math/packages b/tests/load/1/math/packages
index 9e1c30f..22a3167 100644
--- a/tests/load/1/math/packages
+++ b/tests/load/1/math/packages
@@ -9,10 +9,11 @@ tags: c++, exponent
description: The exponent math function.
url: http://www.exp.com
email: users@exp.com
+build-email: builds@exp.com
depends: libmisc
depends: libpq >= 9.0.0
location: libexp-1~1.2+1.tar.gz
-sha256sum: 49172533e10e1dd9b8f80bcd25d25397f143ba49a944cd8cb8fd273823b7c10e
+sha256sum: 96add9edada45f4ceee18b3ec344ca3c4fc1473d9aad22a13e97d7728a439087
:
name: libfoo
version: 1.0
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index f2c97b5..24b29b4 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -611,6 +611,7 @@ main (int argc, char* argv[])
assert (!epv->package_url);
assert (epv->email == email ("users@exp.com"));
assert (!epv->package_email);
+ assert (epv->build_email && *epv->build_email == "builds@exp.com");
assert (epv->internal_repository.load () == mr);
assert (epv->other_repositories.empty ());
@@ -636,7 +637,7 @@ main (int argc, char* argv[])
assert (check_location (epv));
assert (epv->sha256sum && *epv->sha256sum ==
- "49172533e10e1dd9b8f80bcd25d25397f143ba49a944cd8cb8fd273823b7c10e");
+ "96add9edada45f4ceee18b3ec344ca3c4fc1473d9aad22a13e97d7728a439087");
// Verify libpq package version.
//