1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
Commit Graph

75 Commits

Author SHA1 Message Date
Dan McGee
bd7eb9475c * Added another test as suggested by Nagy on the ML- a package both provides
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-28 04:00:21 +00:00
Dan McGee
820fae9d75 * Some new tests. That bring new failures. :) 2007-02-27 20:49:23 +00:00
Dan McGee
7ee5a4e70f * Added another test- I believe it is a possible situation and one we need to
deal with. Currently, libalpm with AND without Nagy's patch fails it.
* Slight spacing update to pmenv.py.
2007-02-27 19:44:45 +00:00
Dan McGee
7f086a4c5c * Prevent this error when creating empty packages.
tar: *: Cannot stat: No such file or directory
  tar: Error exit delayed from previous errors
2007-02-27 16:25:01 +00:00
Dan McGee
6673d188b9 * Updated description of test upgrade052.
* 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 16:15:47 +00:00
Aaron Griffin
512ccbd042 * Fixed a pacman warning when these fake packages didn't create an (empty)
.FILELIST
2007-02-27 08:32:52 +00:00
Aaron Griffin
67ff30b869 * This test was off. pactest doesn't do all the DB work, so we need to manually
add the "requiredby" information that libalpm would have written.
  Now it succeeds.
2007-02-27 08:29:02 +00:00
Dan McGee
f2ade9ab0d * Added 5 new upgrade tests, which check various things with depends,
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-27 01:34:07 +00:00
Aaron Griffin
52376150fa * Writing 'replaces' info to both /desc and /depends files for testing - see the
"replaces confusion" thread on pacman-dev for more information
* Cleaned up some 2 item loops in the sync131 test
2007-02-26 08:33:48 +00:00
Aaron Griffin
25223d6790 * corrected (IMO) --debug usage with pactest. --debug is now passed straight
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-26 08:19:02 +00:00
Dan McGee
352913b994 * Oops. Messed a few things up, fixing them now. 2007-02-23 07:04:12 +00:00
Dan McGee
d9bd24c968 * Changes to quite a few of the tests, mostly minimal changes (better
descriptions, additional rules, etc)
* One new pactest test regarding file migration between packages.
* Fix of a little output bug in pmenv.py
2007-02-23 06:50:42 +00:00
Aaron Griffin
2f32a02f9d Ignore that... wasn't supposed to happen 2007-02-23 05:12:58 +00:00
Aaron Griffin
bfbba7628d *** empty log message *** 2007-02-23 05:11:43 +00:00
Aaron Griffin
94874d90e2 * Fixed globbing for pactest --test argument
* --manual-confirm was handled in the wrong order
2007-02-23 04:54:49 +00:00
Aaron Griffin
6cd69fa9ff * Removed a stray print statement left in there
* Fail when no tests defined
* Added --manual-confirm to help with hand testing
2007-02-23 04:22:21 +00:00
Aaron Griffin
d584d8c068 * Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignores
these packages, but -S explicitly asks for confirmation.
2007-02-23 02:10:56 +00:00
Dan McGee
332c127109 Big commit here, I'll try to cover all the bases.
* 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 21:34:51 +00:00
Dan McGee
3cda6f4f6b * Rewrote pactest with an OptionParser so we can have helpful help text, and
bumped the version to 0.4. Still a work in progress.
* Changed some linewraps in rankmirrors to keep everything under 80 chars.
2007-02-22 08:06:54 +00:00
Dan McGee
c79f4880bb Ignore pactest-created root directory 2007-02-21 18:52:07 +00:00
Dan McGee
360565662c Fixed up the output a bit. 2007-02-21 07:13:16 +00:00
Aaron Griffin
786cd38c0a * Indentation changes - 4 spaces for python, we standardized this before (and
it's a PEP)
* Modified some sync tests
2007-02-21 06:33:13 +00:00
Aaron Griffin
42f8b8b2d3 cvsignore cleanup and additions 2007-01-17 03:40:08 +00:00
Aaron Griffin
df0dac10e5 Fixed this test so that it succeeds - it is probably not 100% appropriate, but
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-21 20:04:36 +00:00
Aaron Griffin
1dc8151493 Added pactest to repository, from Aurelien Foret:
http://aurelien.foret.free.fr/archlinux/pactest/
2006-10-15 19:04:27 +00:00