aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-status.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg-status.testscript')
-rw-r--r--tests/pkg-status.testscript30
1 files changed, 28 insertions, 2 deletions
diff --git a/tests/pkg-status.testscript b/tests/pkg-status.testscript
index 39ea85a..1ac3a97 100644
--- a/tests/pkg-status.testscript
+++ b/tests/pkg-status.testscript
@@ -94,6 +94,11 @@ rep_fetch += -d cfg --auth all --trust-yes 2>!
$clone_cfg;
$* libfoo/1.0.0 >'libfoo available 1.0.0'
+ : libfoo-1.0.0+0
+ :
+ $clone_cfg;
+ $* libfoo/1.0.0+0 >'libfoo available 1.0.0'
+
: libfoo
:
$clone_cfg;
@@ -147,9 +152,30 @@ rep_fetch += -d cfg --auth all --trust-yes 2>!
: testing
:
{
- $clone_cfg ./ && $rep_add $rep/testing && $rep_fetch;
+ +$clone_cfg ./ && $rep_add $rep/testing && $rep_fetch
+
+ clone_cfg = cp -r ../cfg ./
+
+ : no-version
+ :
+ {
+ $clone_cfg;
+ $* libbar >'libbar available [1.1.0+1] 1.1.0 1.0.0+1 1.0.0'
+ }
- $* libbar >'libbar available [1.1.0+1] 1.1.0 1.0.0+1 1.0.0'
+ : no-revision
+ :
+ {
+ $clone_cfg;
+ $* libbar/1.0.0 >'libbar available 1.0.0+1 1.0.0'
+ }
+
+ : zero-revision
+ :
+ {
+ $clone_cfg;
+ $* libbar/1.0.0+0 >'libbar available 1.0.0'
+ }
}
: unstable