summaryrefslogtreecommitdiff
path: root/pactest/tests
Commit message (Collapse)AuthorAge
* Add mode and type checking to pactest for filesDan McGee2007-07-01
| | | | | | | | | | | | | Add the ability to check the permissions and type of a file within the framework of pactest. Two new rules can be used: self.addrule("FILE_TYPE=bin/foo|file") self.addrule("FILE_MODE=bin/bar|644") TODO: add the ability to add different types of files (eg links) via the test package building framework, and add the ability to change the modes on files. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add pactest to help debug FS #7415Chantry Xavier2007-06-26
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add sync301 pactest- pacman gains new deps and should be pulled inChantry Xavier2007-06-26
| | | | | Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add pactest requiredby004.Nagy Gabor2007-06-12
| | | | | | | | | Upgrade a package that no longer needs a depend. Reference: http://www.archlinux.org/pipermail/pacman-dev/2007-June/008503.html Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add new pactest remove043.Nagy Gabor2007-06-11
| | | | | | Remove a package required by another package. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
* pactest: fix description of remove040Dan McGee2007-06-10
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add two new pactests for FS #6057Chantry Xavier2007-06-10
| | | | | | | | As described in the bug report, installing taglib-rcc (sync900 pactest) works fine. But installing taglib back (sync901 pactest) doesn't. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add new pactest remove042Chantry Xavier2007-06-10
| | | | | | | Same as remove040, with cascaded remove instead of simple remove. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add five new pactest tests where pacman currently failsNagy Gabor2007-06-04
| | | | | | | | Most of these new tests deal with provisions upon sync or upgrade being changed by packages, and pacman not being smart enough to deal with it yet. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add three new 'requiredby' pactestsDan McGee2007-05-14
| | | | | | | These should test various aspects of the DB when dealing with requiredby entries. At least one fails without Nagy's alpm_depcmp patch. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add a pactest for IgnorePkg and force on same packageDan McGee2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* ldconfig changes from CVSAaron Griffin2007-04-16
| | | | | | | forward-porting some 3.0.2 changes * Nagy's ldconfig fix * 3 new pactests to check if ldconfig runs Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Add pactest for pre_ and post_remove scriptlet events firingDan McGee2007-04-07
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* pactest: remove001.pyAaron Griffin2007-04-04
| | | | | | * Test for duplicate remove targets (should succeed) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* New pactest: Sysupgrade with a sync package forcing a downgradeVMiklos2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* * Fix bug where 'makepkg -L' doesn't stop on build failure.Dan McGee2007-03-25
| | | | | | Andrew Fyfe <andrew@neptune-one.net> * Add testing to etc/pacman.d/.cvsignore * Fix scriptlet001.py test to work during 'make check'.
* Quick pactest changes:Aaron Griffin2007-03-22
| | | | | * Minor change to utils.py(grep) to make it cleaner * Added scriptlet check to verify scriptlet events happen
* * Updated Italian translationDan McGee2007-03-21
| | | | | | Giovanni Scafora <linuxmania@gmail.com> * Added pactest test for -Se operation James Rosten <seinfeld90@gmail.com>
* James Rosten <seinfeld90@gmail.com>Aaron Griffin2007-03-19
| | | | | | * Two new pactest test cases * Fix some "required by" / "requires" output by unifying all "dependency types" to a single value (PM_DEP_TYPE_DEPEND)
* Added this test to check the XferCommand functionalityAaron Griffin2007-03-05
|
* * By Roman's request - proactive backup=() entry test caseAaron Griffin2007-03-04
|
* Added a test for checking 'requiredby' removalAaron Griffin2007-03-04
|
* * REQUIREDBY test was reversed (pkg3 requiredby pkg1, not pkg1 requiredby pkg3)Aaron Griffin2007-03-01
|
* * Silly mistake on making sync895 and sync896- I didn't create the fieldDan McGee2007-03-01
| | | | | requiredby for 'already installed' packages, so the test didn't work properly. Once these errors were fixed, both tests pass fine.
* * Added another test as suggested by Nagy on the ML- a package both providesDan McGee2007-02-28
| | | | | | | | | | | | for and is a dependency of another package. (upgrade057) * Removed man2html stuff from doc/Makefile.am. * Patch: improved depends checking in _alpm_checkdeps Nagy Gabor <ngaba@petra.hos.u-szeged.hu> * Slight revisions to pmrule.py to allow for a PKG_PROVIDES test. * Very quick updates to the pactest README. * Added rules to some of the newer upgrade tests. Note: upgrade055 now fails due to requiredby entries not being written packages that are dependencies in a provides role.
* * Some new tests. That bring new failures. :)Dan McGee2007-02-27
|
* * Added another test- I believe it is a possible situation and one we need toDan McGee2007-02-27
| | | | | deal with. Currently, libalpm with AND without Nagy's patch fails it. * Slight spacing update to pmenv.py.
* * Updated description of test upgrade052.Dan McGee2007-02-27
| | | | | | | * Added the actual "Nagy's bug" as upgrade055.py. * Updated the Makefile to distribute the pactest readme. * Removed COPYING from the pactest directory- see COPYING at the root for the same license.
* * This test was off. pactest doesn't do all the DB work, so we need to manuallyAaron Griffin2007-02-27
| | | | | add the "requiredby" information that libalpm would have written. Now it succeeds.
* * Added 5 new upgrade tests, which check various things with depends,Dan McGee2007-02-27
| | | | | | | provides, and conflicts. - upgrade051 is known to fail- but we want to eventually make it work. - upgrade052 is Nagy's bug as reported on the ML- I think. If it isn't, let me know.
* * Writing 'replaces' info to both /desc and /depends files for testing - see theAaron Griffin2007-02-26
| | | | | "replaces confusion" thread on pacman-dev for more information * Cleaned up some 2 item loops in the sync131 test
* * Oops. Messed a few things up, fixing them now.Dan McGee2007-02-23
|
* * Changes to quite a few of the tests, mostly minimal changes (betterDan McGee2007-02-23
| | | | | | descriptions, additional rules, etc) * One new pactest test regarding file migration between packages. * Fix of a little output bug in pmenv.py
* * Indentation changes - 4 spaces for python, we standardized this before (andAaron Griffin2007-02-21
| | | | | it's a PEP) * Modified some sync tests
* Fixed this test so that it succeeds - it is probably not 100% appropriate, butAaron Griffin2006-10-21
| | | | | the check that pkg1 is modified and pkg2 does not exist is good enough for this use-case. Now we have a 100% pactest success
* Added pactest to repository, from Aurelien Foret:Aaron Griffin2006-10-15
http://aurelien.foret.free.fr/archlinux/pactest/