aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-05-31 19:03:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-01 13:03:45 +0300
commit545e427106ba9ebfa66db1e3bba3cf13078a213c (patch)
tree9c89ab9481262124c7b63552353bcee56e468548 /tests/rep-fetch.testscript
parentecb8c74e002b66f61199e1cb6bc61fabf2f29a01 (diff)
Increment version iteration number for selected non-external package regardless of manifest/subprojects checksum
Diffstat (limited to 'tests/rep-fetch.testscript')
-rw-r--r--tests/rep-fetch.testscript11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/rep-fetch.testscript b/tests/rep-fetch.testscript
index b9b9e05..b713c0c 100644
--- a/tests/rep-fetch.testscript
+++ b/tests/rep-fetch.testscript
@@ -631,11 +631,15 @@ if! $remote
: unchanged-external
:
+ : Test that iteration is still incremented when a non-external package
+ : from a pkg repository is switched to the same unedited external
+ : package.
+ :
{
$clone_cfg && $rep_add $src/libhello-1.0.0;
$* 2>!;
- $pkg_status libhello >'libhello unpacked 1.0.0'
+ $pkg_status libhello >'libhello unpacked 1.0.0 available 1.0.0#1'
}
: changed-external
@@ -655,6 +659,9 @@ if! $remote
: git-rep
:
+ : Test that iteration is still incremented when a non-external package
+ : from a git repository is switched to the same unedited external package.
+ :
if ($git_supported && !$remote)
{
rep = $canonicalize([dir_path] $out_git/state0);
@@ -668,7 +675,7 @@ if! $remote
$rep_add $rep/style.git;
$* 2>!;
- $pkg_status style >"style unpacked 1.0.0";
+ $pkg_status style >"style unpacked 1.0.0 available 1.0.0#1";
$pkg_purge style 2>"purged style/1.0.0"
}