mirror of
https://github.com/mudler/luet.git
synced 2025-08-18 15:27:17 +00:00
tests/integration/01_simple.sh: Use system-dbpath/system-target from config
This commit is contained in:
parent
cd0e588fa9
commit
b986c613ab
@ -64,7 +64,7 @@ testInstall() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testReInstall() {
|
testReInstall() {
|
||||||
output=$(luet install --config $tmpdir/luet.yaml --system-dbpath $tmpdir/testrootfs --system-target $tmpdir/testrootfs test/c-1.0)
|
output=$(luet install --config $tmpdir/luet.yaml test/c-1.0)
|
||||||
installst=$?
|
installst=$?
|
||||||
assertEquals 'install test successfully' "$installst" "0"
|
assertEquals 'install test successfully' "$installst" "0"
|
||||||
assertContains 'contains warning' "$output" 'Filtering out'
|
assertContains 'contains warning' "$output" 'Filtering out'
|
||||||
@ -79,7 +79,7 @@ testUnInstall() {
|
|||||||
|
|
||||||
testInstallAgain() {
|
testInstallAgain() {
|
||||||
assertTrue 'package uninstalled' "[ ! -e '$tmpdir/testrootfs/c' ]"
|
assertTrue 'package uninstalled' "[ ! -e '$tmpdir/testrootfs/c' ]"
|
||||||
output=$(luet install --config $tmpdir/luet.yaml --system-dbpath $tmpdir/testrootfs --system-target $tmpdir/testrootfs test/c-1.0)
|
output=$(luet install --config $tmpdir/luet.yaml test/c-1.0)
|
||||||
installst=$?
|
installst=$?
|
||||||
assertEquals 'install test successfully' "$installst" "0"
|
assertEquals 'install test successfully' "$installst" "0"
|
||||||
assertNotContains 'contains warning' "$output" 'Filtering out'
|
assertNotContains 'contains warning' "$output" 'Filtering out'
|
||||||
|
Loading…
Reference in New Issue
Block a user