tests: fix tests; transaction detect if multiple packages install the same file
This commit is contained in:
parent
a19c659616
commit
2a9029b736
@ -45,7 +45,7 @@ update_xbps_with_revdeps_head() {
|
|||||||
|
|
||||||
update_xbps_with_revdeps_body() {
|
update_xbps_with_revdeps_body() {
|
||||||
mkdir -p repo xbps xbps-dbg baz
|
mkdir -p repo xbps xbps-dbg baz
|
||||||
touch xbps/foo xbps-dbg/foo baz/blah
|
touch xbps/foo xbps-dbg/bar baz/blah
|
||||||
|
|
||||||
cd repo
|
cd repo
|
||||||
xbps-create -A noarch -n xbps-1.0_1 -s "xbps pkg" ../xbps
|
xbps-create -A noarch -n xbps-1.0_1 -s "xbps pkg" ../xbps
|
||||||
@ -115,7 +115,7 @@ update_xbps_with_uptodate_revdeps_head() {
|
|||||||
|
|
||||||
update_xbps_with_uptodate_revdeps_body() {
|
update_xbps_with_uptodate_revdeps_body() {
|
||||||
mkdir -p repo xbps base-system
|
mkdir -p repo xbps base-system
|
||||||
touch xbps/foo base-system/foo
|
touch xbps/foo base-system/bar
|
||||||
|
|
||||||
cd repo
|
cd repo
|
||||||
xbps-create -A noarch -n xbps-1.0_1 -s "xbps pkg" ../xbps
|
xbps-create -A noarch -n xbps-1.0_1 -s "xbps pkg" ../xbps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user