summaryrefslogtreecommitdiffstats
path: root/pactest
AgeCommit message (Collapse)AuthorFilesLines
2007-03-05Added this test to check the XferCommand functionalityAaron Griffin1-0/+20
2007-03-05* Fixed an issue with globbing the --test argumentAaron Griffin6-15/+34
* 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
2007-03-04* By Roman's request - proactive backup=() entry test caseAaron Griffin1-0/+17
2007-03-04Added a test for checking 'requiredby' removalAaron Griffin1-0/+18
2007-03-01* Modified values of INFRQ_* options so we start at 0x01 and not 0x00. ThisDan McGee1-9/+9
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
2007-03-01* REQUIREDBY test was reversed (pkg3 requiredby pkg1, not pkg1 requiredby pkg3)Aaron Griffin1-3/+3
2007-03-01* Silly mistake on making sync895 and sync896- I didn't create the fieldDan McGee2-0/+4
requiredby for 'already installed' packages, so the test didn't work properly. Once these errors were fixed, both tests pass fine.
2007-02-28* Unifying placement of REPLACES in desc file, as pacman2 does. We'll worryDan McGee5-21/+30
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.
2007-02-28* Added another test as suggested by Nagy on the ML- a package both providesDan McGee8-6/+49
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.
2007-02-27* Some new tests. That bring new failures. :)Dan McGee3-4/+42
2007-02-27* Added another test- I believe it is a possible situation and one we need toDan McGee2-1/+25
deal with. Currently, libalpm with AND without Nagy's patch fails it. * Slight spacing update to pmenv.py.
2007-02-27* Prevent this error when creating empty packages.Dan McGee1-1/+2
tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors
2007-02-27* Updated description of test upgrade052.Dan McGee4-342/+32
* 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.
2007-02-27* Fixed a pacman warning when these fake packages didn't create an (empty)Aaron Griffin1-4/+7
.FILELIST
2007-02-27* This test was off. pactest doesn't do all the DB work, so we need to manuallyAaron Griffin1-0/+1
add the "requiredby" information that libalpm would have written. Now it succeeds.
2007-02-27* Added 5 new upgrade tests, which check various things with depends,Dan McGee5-0/+87
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.
2007-02-26* Writing 'replaces' info to both /desc and /depends files for testing - see theAaron Griffin2-6/+7
"replaces confusion" thread on pacman-dev for more information * Cleaned up some 2 item loops in the sync131 test
2007-02-26* corrected (IMO) --debug usage with pactest. --debug is now passed straightAaron Griffin6-34/+38
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)
2007-02-23* Oops. Messed a few things up, fixing them now.Dan McGee2-2/+2
2007-02-23* Changes to quite a few of the tests, mostly minimal changes (betterDan McGee47-61/+127
descriptions, additional rules, etc) * One new pactest test regarding file migration between packages. * Fix of a little output bug in pmenv.py
2007-02-23Ignore that... wasn't supposed to happenAaron Griffin1-1/+0
2007-02-23*** empty log message ***Aaron Griffin2-1/+2
2007-02-23* Fixed globbing for pactest --test argumentAaron Griffin2-6/+12
* --manual-confirm was handled in the wrong order
2007-02-23* Removed a stray print statement left in thereAaron Griffin2-7/+15
* Fail when no tests defined * Added --manual-confirm to help with hand testing
2007-02-23* Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignoresAaron Griffin1-0/+1
these packages, but -S explicitly asks for confirmation.
2007-02-22Big commit here, I'll try to cover all the bases.Dan McGee1-0/+15
* 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.
2007-02-22* Rewrote pactest with an OptionParser so we can have helpful help text, andDan McGee1-38/+57
bumped the version to 0.4. Still a work in progress. * Changed some linewraps in rankmirrors to keep everything under 80 chars.
2007-02-21Ignore pactest-created root directoryDan McGee1-0/+1
2007-02-21Fixed up the output a bit.Dan McGee1-4/+7
2007-02-21* Indentation changes - 4 spaces for python, we standardized this before (andAaron Griffin10-1095/+1104
it's a PEP) * Modified some sync tests
2007-01-17cvsignore cleanup and additionsAaron Griffin1-0/+3
2006-10-21Fixed this test so that it succeeds - it is probably not 100% appropriate, butAaron Griffin1-2/+2
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
2006-10-15Added pactest to repository, from Aurelien Foret:Aaron Griffin84-0/+3417
http://aurelien.foret.free.fr/archlinux/pactest/