repo.or.cz
/
pacman-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pactest: Rename epoch pactests
[pacman-ng.git]
/
test
/
pacman
/
tests
/
fileconflict003.py
blob
89696fcb9c1d214612c102e6b71a0eda18f03922
1
self
.
description
=
"FS#8156"
2
3
p1
=
pmpkg
(
"pkg1"
)
4
p1
.
files
= [
"test/"
,
5
"test/file"
]
6
self
.
addpkg2db
(
"local"
,
p1
)
7
8
p2
=
pmpkg
(
"pkg2"
)
9
p2
.
files
= [
"test2/"
,
10
"test2/file2"
,
11
"test -> test2"
]
12
self
.
addpkg2db
(
"sync"
,
p2
)
13
14
self
.
args
=
"-S pkg2"
15
16
self
.
addrule
(
"PACMAN_RETCODE=1"
)
17
self
.
addrule
(
"PKG_EXIST=pkg1"
)
18
self
.
addrule
(
"!PKG_EXIST=pkg2"
)