summaryrefslogtreecommitdiff
path: root/pactest
Commit message (Collapse)AuthorAge
* Move DB and cache dirs away from there dependence on ROOTDIRDan McGee2007-05-31
| | | | | | | | | | | | | | | | | | | This change allows us to use all autoconf specified paths, most notably $(localstatedir). It is quite a change and touches a lot of files, as all references to the DB and cache were done with the ROOTDIR as a prefix. * add --lock command-line option to pacman to specify the location of the lockfile (this can now be specified at configure time by setting the $localstatedir path). * Rip quite a few settings out of configure.ac as they are now picked by setting the paths during configure or make. * Fix bug with /tmp fallback for sync downloads not working correctly (related to root location, now the system tmp dir is used). * Simplified the parameters to some libalpm functions, and added get/set for the new lockfile option. * Renamed several of the DEFS to names without the PM_ prefix. 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>
* Move .cvsignore -> .gitignoreDan McGee2007-03-27
| | | | | | | | * Move all .cvsignore files to .gitignore for switch in VCS. In addition, delete ones that were unnecessary because they only contained Makefile and Makefile.am. 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)
* This commit looks much more monumental than it is. Almost all just #includeDan McGee2007-03-05
| | | | | | | | reordering and adding ones that were forgotten (noticed when trying to compile after reordering). * Updated the HACKING file to include information on #include usage. * print -> vprint in "making dir" function in pactest.
* Added this test to check the XferCommand functionalityAaron Griffin2007-03-05
|
* * Fixed an issue with globbing the --test argumentAaron Griffin2007-03-05
| | | | | | | | | * Added a custom 'mkdir' function which makes parents and doesn't fail on existence * Added output for 'SKIP' messages (it did not indicate WHY it was skipped) * Added the ability to generate DB packages in the sync dir (not the cache dir) for testing downloading. (self.cachepkgs = False) * Added pmtest.path for the full path to the package file
* * By Roman's request - proactive backup=() entry test caseAaron Griffin2007-03-04
|
* Added a test for checking 'requiredby' removalAaron Griffin2007-03-04
|
* * Modified values of INFRQ_* options so we start at 0x01 and not 0x00. ThisDan McGee2007-03-01
| | | | | | | | | | | | allows for the same bit operators to be used across the board on pkg_get operations. * Changed name of INFRQ_NONE -> INFRQ_BASE to more clearly reflect what it does (loads pkg name and version). * Added a few missing things on package functions, such as SYMEXPORT and ALPM_LOG_FUNC. * Slight updates to pmenv to print 'pass' and 'fail' instead of 'passed' and 'failed'. Keeps output a bit more concise. * Fixed a doxygen comment spelling error. :P
* * 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.
* * Unifying placement of REPLACES in desc file, as pacman2 does. We'll worryDan McGee2007-02-28
| | | | | | | | about bigger DB changes later, but lets not screw anything up for release. * Removed some weird uses of "not ... ==" usage in pactest- correct me if I'm wrong, but isn't "!=" a lot more clean and concise? * Print description of failed tests in the pactest summary. This could get dirty with a lot of failed tests though, so watch out.
* * 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.
* * Prevent this error when creating empty packages.Dan McGee2007-02-27
| | | | | tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors
* * 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.
* * Fixed a pacman warning when these fake packages didn't create an (empty)Aaron Griffin2007-02-27
| | | | .FILELIST
* * 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
* * corrected (IMO) --debug usage with pactest. --debug is now passed straightAaron Griffin2007-02-26
| | | | | | | | through to pacman, whereas --verbose affects the pactest output - this cleans up the standard test output significantly * sorted tests a bit better, sectioning off failed tests AFTER successful tests, to make it easier to see what failed at a glance * added a 'testname' member to pmtest, which strips path info (cleaner output)
* * 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
* Ignore that... wasn't supposed to happenAaron Griffin2007-02-23
|
* *** empty log message ***Aaron Griffin2007-02-23
|
* * Fixed globbing for pactest --test argumentAaron Griffin2007-02-23
| | | | * --manual-confirm was handled in the wrong order
* * Removed a stray print statement left in thereAaron Griffin2007-02-23
| | | | | * Fail when no tests defined * Added --manual-confirm to help with hand testing
* * Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignoresAaron Griffin2007-02-23
| | | | these packages, but -S explicitly asks for confirmation.
* Big commit here, I'll try to cover all the bases.Dan McGee2007-02-22
| | | | | | | | | | | | * Updated all of the language files, as the POT file was updated. NOTE FOR TRANSLATORS, try to base your next contribution off of these, notice how some msgids and messages have been wrapped to the next line- it makes it easier to read anyway. * More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now work properly, with only one caveat- the automatic testing in distclean doesn't do so hot as it is compiled with a default configure, which includes the fakeroot-proof code (which does not cooperate with pactest). * Added a Makefile.am for the pactest directory.
* * Rewrote pactest with an OptionParser so we can have helpful help text, andDan McGee2007-02-22
| | | | | bumped the version to 0.4. Still a work in progress. * Changed some linewraps in rankmirrors to keep everything under 80 chars.
* Ignore pactest-created root directoryDan McGee2007-02-21
|
* Fixed up the output a bit.Dan McGee2007-02-21
|
* * Indentation changes - 4 spaces for python, we standardized this before (andAaron Griffin2007-02-21
| | | | | it's a PEP) * Modified some sync tests
* cvsignore cleanup and additionsAaron Griffin2007-01-17
|
* 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/