mirror of
https://github.com/mudler/luet.git
synced 2025-09-20 10:46:16 +00:00
Avoid clashing fixture version
This commit is contained in:
2
tests/fixtures/virtuals/a/definition.yaml
vendored
2
tests/fixtures/virtuals/a/definition.yaml
vendored
@@ -1,3 +1,3 @@
|
|||||||
category: test
|
category: test
|
||||||
name: "a"
|
name: "a"
|
||||||
version: "1.0"
|
version: "1.99"
|
@@ -15,8 +15,8 @@ testBuildA() {
|
|||||||
luet build --tree "$ROOT_DIR/tests/fixtures/virtuals" --debug --compression "gzip" --destination $tmpdir/testbuild1 test/a
|
luet build --tree "$ROOT_DIR/tests/fixtures/virtuals" --debug --compression "gzip" --destination $tmpdir/testbuild1 test/a
|
||||||
buildst=$?
|
buildst=$?
|
||||||
assertEquals 'builds successfully' "$buildst" "0"
|
assertEquals 'builds successfully' "$buildst" "0"
|
||||||
assertTrue 'create package A 1.0' "[ -e '$tmpdir/testbuild1/a-test-1.0.package.tar.gz' ]"
|
assertTrue 'create package A 1.99' "[ -e '$tmpdir/testbuild1/a-test-1.99.package.tar.gz' ]"
|
||||||
assertTrue 'create package A 1.0' "[ -e '$tmpdir/testbuild1/a-test-1.0.metadata.yaml' ]"
|
assertTrue 'create package A 1.99' "[ -e '$tmpdir/testbuild1/a-test-1.99.metadata.yaml' ]"
|
||||||
}
|
}
|
||||||
|
|
||||||
testBuildB() {
|
testBuildB() {
|
||||||
|
Reference in New Issue
Block a user