aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/load/1/math/libexp-+1-1.2+1.tar.gzbin0 -> 350 bytes
-rw-r--r--tests/load/1/math/libexp-1~1.2+1.tar.gzbin360 -> 0 bytes
-rw-r--r--tests/load/1/math/packages.manifest6
-rw-r--r--tests/load/1/stable/libfoo-1.2.2.tar.gzbin301 -> 301 bytes
-rw-r--r--tests/load/1/stable/packages.manifest4
-rw-r--r--tests/load/1/stable/signature.manifest20
-rw-r--r--tests/load/driver.cxx8
7 files changed, 19 insertions, 19 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
new file mode 100644
index 0000000..2cd4bd7
--- /dev/null
+++ b/tests/load/1/math/libexp-+1-1.2+1.tar.gz
Binary files differ
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
deleted file mode 100644
index 1d15a59..0000000
--- a/tests/load/1/math/libexp-1~1.2+1.tar.gz
+++ /dev/null
Binary files differ
diff --git a/tests/load/1/math/packages.manifest b/tests/load/1/math/packages.manifest
index 4980e93..3c6e325 100644
--- a/tests/load/1/math/packages.manifest
+++ b/tests/load/1/math/packages.manifest
@@ -2,7 +2,7 @@
sha256sum: b85ba3a0ba45b98e1fbb2507f199bc4b218a4a413ec6ba4094e214a7507490a2
:
name: libexp
-version: 1~1.2+1
+version: +1-1.2+1
summary: The exponent
license: MIT
tags: c++, exponent
@@ -14,8 +14,8 @@ depends: libmisc
depends: libpq >= 9.0.0
build-exclude: *; Only supported on Linux.
build-include: linux*
-location: libexp-1~1.2+1.tar.gz
-sha256sum: 0a7414d06ad26d49dad203deaf3841f3df97f1fe27c5bf190c1c20dfeb7f84e0
+location: libexp-+1-1.2+1.tar.gz
+sha256sum: 58c1385e959a5e650229768f907442cf9569cb23acc3b3f1b5478060f7bfe5f4
:
name: libfoo
version: 1.0
diff --git a/tests/load/1/stable/libfoo-1.2.2.tar.gz b/tests/load/1/stable/libfoo-1.2.2.tar.gz
index a1b80ef..619c813 100644
--- a/tests/load/1/stable/libfoo-1.2.2.tar.gz
+++ b/tests/load/1/stable/libfoo-1.2.2.tar.gz
Binary files differ
diff --git a/tests/load/1/stable/packages.manifest b/tests/load/1/stable/packages.manifest
index 45bc015..d61b6e2 100644
--- a/tests/load/1/stable/packages.manifest
+++ b/tests/load/1/stable/packages.manifest
@@ -31,9 +31,9 @@ tags: c++, foo
url: http://www.example.com/foo/
email: foo-users@example.com
depends: libbar <= 2.4.0
-depends: libexp == 1~1.2
+depends: libexp == +1-1.2
location: libfoo-1.2.2.tar.gz
-sha256sum: b47de1b207ef097c9ecdd560007aeadd3775f4fafb4f96fb983e9685c21f3980
+sha256sum: 58139f97dd8a9820a8c0f068f963865fdc0d1e5f7636d464c0d07441095a35fc
:
name: libfoo
version: 1.2.3+4
diff --git a/tests/load/1/stable/signature.manifest b/tests/load/1/stable/signature.manifest
index 0da4d07..ccd7b66 100644
--- a/tests/load/1/stable/signature.manifest
+++ b/tests/load/1/stable/signature.manifest
@@ -1,13 +1,13 @@
: 1
-sha256sum: 7ba11b5c9050827ba50dcb888e4f514fcfdd0f301e56640caf54226310f4fdad
+sha256sum: 5ecbb89c8e36b9743fe08a3e53ceefe410ac13f9e1549300a58bcf83aa17e30c
signature: \
-w4bLp8f6qGuRkNQE4Dh7+04HJFwlJXfe/qw2Mr41ERnER1nIgwTcF8e+PyUcyLXG9D/3RQ/vqec7
-kpqng0uOXl89dp9C0pwpFV/AntAOg7KeRz73NO30yrgk7gdZYd2/2SR82aYIlcdZxVcwf0kUGyuO
-MPcdYQpUozgC2bwzL4LAh+Ky8deacR0ICLkt+4TjKP9rVvPlX82pDPWxYt7wxo6m4i4nXKLQXvHA
-Gy59NKQx1+0cEP68RxBrsygfmG4uKWTgRZm2xWuYvwN94q+gGw7s6rkKYLF2/Ndm9vYOig49Kt5i
-l7HaP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
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index 61c10b0..c6c3deb 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -268,12 +268,12 @@ main (int argc, char* argv[])
"libexp",
optional<dependency_constraint> (
dependency_constraint (
- version ("1~1.2"), false, version ("1~1.2"), false))));
+ version ("+1-1.2"), false, version ("+1-1.2"), false))));
assert (check_location (fpv2));
assert (fpv2->sha256sum && *fpv2->sha256sum ==
- "b47de1b207ef097c9ecdd560007aeadd3775f4fafb4f96fb983e9685c21f3980");
+ "58139f97dd8a9820a8c0f068f963865fdc0d1e5f7636d464c0d07441095a35fc");
// libfoo-1.2.2-alpha.1
//
@@ -619,7 +619,7 @@ main (int argc, char* argv[])
// libexp-1+1.2
//
shared_ptr<package> epv (
- db.load<package> (package_id ("libexp", version ("1~1.2+1"))));
+ db.load<package> (package_id ("libexp", version ("+1-1.2+1"))));
assert (epv->summary == "The exponent");
assert (epv->tags == strings ({"c++", "exponent"}));
@@ -663,7 +663,7 @@ main (int argc, char* argv[])
assert (check_location (epv));
assert (epv->sha256sum && *epv->sha256sum ==
- "0a7414d06ad26d49dad203deaf3841f3df97f1fe27c5bf190c1c20dfeb7f84e0");
+ "58c1385e959a5e650229768f907442cf9569cb23acc3b3f1b5478060f7bfe5f4");
// Verify libpq package version.
//