aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-19 20:28:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-21 18:39:22 +0300
commit6e5e3972542baa1c715e13a36c1144f148c6320b (patch)
treebc4e26e743c77dae3fe774d9a1adc8ca486fba1a /tests/rep-fetch.testscript
parentf2569bd8b6cff7f17ae71035cc3d4e86b2fc0cc4 (diff)
Consider only latest revisions for git repository location default set
Diffstat (limited to 'tests/rep-fetch.testscript')
-rw-r--r--tests/rep-fetch.testscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rep-fetch.testscript b/tests/rep-fetch.testscript
index cd1c919..d347066 100644
--- a/tests/rep-fetch.testscript
+++ b/tests/rep-fetch.testscript
@@ -1003,6 +1003,19 @@ else
1 package(s) in 1 repository(s)
EOE
}
+
+ : latest-revision
+ :
+ {
+ $clone_root_cfg;
+
+ $* "$rep_git/state0/libbar.git" 2>>~%EOE%;
+ %.+
+ 3 package(s) in 2 repository(s)
+ EOE
+
+ $pkg_status libbar >'libbar available 1.0.0+1'
+ }
}
}
}