aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_TEST_ever_setup.sh
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-03-20 01:23:12 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-03-20 01:31:04 +0100
commite025e1b8be908dccb561b4e11e426ac84f3f5561 (patch)
tree25e47e7b0883fda807e8ce092e76094913f4a891 /paludis/repositories/e/e_repository_TEST_ever_setup.sh
parentbd997cad023cd799551a1c2e7463e2006ae26b46 (diff)
downloadpaludis-e025e1b8be908dccb561b4e11e426ac84f3f5561.tar.gz
paludis-e025e1b8be908dccb561b4e11e426ac84f3f5561.tar.xz
ever: Rather than being a number, the index parameter can be a separator...
... such as '-', '.', '_'. In this case, the first separator of this kind is selected.
Diffstat (limited to 'paludis/repositories/e/e_repository_TEST_ever_setup.sh')
-rwxr-xr-xpaludis/repositories/e/e_repository_TEST_ever_setup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_repository_TEST_ever_setup.sh b/paludis/repositories/e/e_repository_TEST_ever_setup.sh
index c412b6230..de5b5ffa4 100755
--- a/paludis/repositories/e/e_repository_TEST_ever_setup.sh
+++ b/paludis/repositories/e/e_repository_TEST_ever_setup.sh
@@ -198,6 +198,9 @@ pkg_setup() {
check "2" _ "1-scm" "1-scm"
check "3" _ "1_beta2" "1_beta2"
check "99" . "1.2.3-r4" "1.2.3-r4"
+ check "-" . "1.2-scm-r1" "1.2.scm-r1"
+ check "_" - "1.2.3_alpha1" "1.2.3-alpha1"
+ check "." - "1.2.3_alpha1" "1-2.3_alpha1"
}
END
mkdir -p "packages/cat/ever-replace_all"
@@ -242,6 +245,9 @@ pkg_setup() {
check 2 "1.2.3" "1.23"
check 3 "1.2.3" "1.2.3"
check 1 "1_beta2-try3" "1beta2-try3"
+ check "-" "1.2-scm-r1" "1.2scm-r1"
+ check "." "1.2.3_alpha1" "12.3_alpha1"
+ check "_" "1.2.3_alpha1" "1.2.3alpha1"
}
END
mkdir -p "packages/cat/ever-delete_all"