pactest: add test for empty replacements strings
This commit is contained in:
parent
4c18204938
commit
6ba5c20e76
@ -127,6 +127,7 @@ pacman_tests = [
|
||||
'tests/remove-assumeinstalled.py',
|
||||
'tests/remove-directory-replaced-with-symlink.py',
|
||||
'tests/remove-optdepend-of-installed-package.py',
|
||||
'tests/remove-print-empty-replacements.py',
|
||||
'tests/remove-recursive-cycle.py',
|
||||
'tests/remove001.py',
|
||||
'tests/remove002.py',
|
||||
|
9
test/pacman/tests/remove-print-empty-replacements.py
Normal file
9
test/pacman/tests/remove-print-empty-replacements.py
Normal file
@ -0,0 +1,9 @@
|
||||
self.description = "Print empty replacements when using -Rp"
|
||||
|
||||
p = pmpkg("a")
|
||||
self.addpkg2db("local", p)
|
||||
|
||||
self.args = "-Rp --print-format 'foo%%f%%g%%h%%m' %s" % p.name
|
||||
|
||||
self.addrule("PACMAN_RETCODE=0")
|
||||
self.addrule("PACMAN_OUTPUT=^foo$")
|
Loading…
Reference in New Issue
Block a user