1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-02 08:35:06 -04:00
pacman/pactest/tests
Nagy Gabor 13525255dc Add sync1003 pactest.
The sync package pkg3 depends on the sync package pkg2, but pkg1 replaces pkg2.
So pkg2 is added to the remove list.

When checkdeps checks if pkg2 can be removed, it looks at the packages that require pkg2
(with the RequiredBy field of pkg2), but this doesn't contain pkg3 at this point.
RequiredBy fields are only updated after the packages are installed.

Proposed solution : checkdeps should know both the remove and upgrade list to decide properly.

Reference:
http://www.archlinux.org/pipermail/pacman-dev/2007-July/008972.html

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2007-08-20 15:24:28 -04:00
..
add001.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add002.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add003.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add004.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add010.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add011.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add012.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add013.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add020.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add021.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add030.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add031.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add032.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add040.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add041.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
add042.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add050.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
add060.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
conflict001.py add conflict001 pactest. 2007-07-20 10:42:01 -04:00
conflict002.py Add two pactest for versioned conflicts. 2007-08-12 21:14:05 -04:00
conflict003.py Add two pactest for versioned conflicts. 2007-08-12 21:14:05 -04:00
dummy001.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
ldconfig001.py ldconfig changes from CVS 2007-04-16 20:34:57 -05:00
ldconfig002.py ldconfig changes from CVS 2007-04-16 20:34:57 -05:00
ldconfig003.py ldconfig changes from CVS 2007-04-16 20:34:57 -05:00
mode001.py Add mode and type checking to pactest for files 2007-07-01 20:03:15 -04:00
query001.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
remove001.py pactest: remove001.py 2007-04-04 19:24:02 -05:00
remove010.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
remove011.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
remove020.py * Oops. Messed a few things up, fixing them now. 2007-02-23 07:04:12 +00:00
remove021.py * Oops. Messed a few things up, fixing them now. 2007-02-23 07:04:12 +00:00
remove030.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
remove040.py pactest: fix description of remove040 2007-06-10 21:33:24 -04:00
remove041.py Add five new pactest tests where pacman currently fails 2007-06-04 17:00:30 -04:00
remove042.py Add new pactest remove042 2007-06-10 17:41:35 -04:00
remove043.py Add new pactest remove043. 2007-06-11 11:21:19 +02:00
remove044.py add remove044 pactest. 2007-07-10 11:10:54 -04:00
remove045.py add remove045 pactest. 2007-07-10 11:10:54 -04:00
remove046.py Add remove046 pactest for FS#7622. 2007-07-16 09:20:17 -04:00
requiredby001.py Add three new 'requiredby' pactests 2007-05-14 10:56:52 -04:00
requiredby002.py Add three new 'requiredby' pactests 2007-05-14 10:56:52 -04:00
requiredby003.py Add three new 'requiredby' pactests 2007-05-14 10:56:52 -04:00
requiredby004.py Add pactest requiredby004. 2007-06-12 16:19:50 -04:00
scriptlet001.py * Fix bug where 'makepkg -L' doesn't stop on build failure. 2007-03-25 17:37:42 +00:00
scriptlet002.py Add pactest for pre_ and post_remove scriptlet events firing 2007-04-07 16:27:32 -04:00
smoke001.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync001.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync002.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync003.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync009.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync010.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync011.py libalpm/deps.c : cleanup + little fix for resolvedeps. 2007-07-15 10:37:38 -04:00
sync012.py Add new sync012 pactest. 2007-07-15 19:46:18 -04:00
sync020.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync021.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync030.py Add --asdeps option to pacman 2007-07-15 12:46:02 -04:00
sync040.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync041.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync042.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync043.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync050.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync100.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync101.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync102.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync103.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync110.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync120.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync130.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync131.py * Writing 'replaces' info to both /desc and /depends files for testing - see the 2007-02-26 08:33:48 +00:00
sync132.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync133.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync134.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync135.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync136.py New pactest: Sysupgrade with a sync package forcing a downgrade 2007-04-01 21:52:28 -04:00
sync137.py Add a pactest for IgnorePkg and force on same package 2007-04-23 02:44:24 -04:00
sync200.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync300.py Add five new pactest tests where pacman currently fails 2007-06-04 17:00:30 -04:00
sync301.py Add sync301 pactest- pacman gains new deps and should be pulled in 2007-06-26 12:00:22 -04:00
sync890.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync891.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync892.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync893.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync895.py * Silly mistake on making sync895 and sync896- I didn't create the field 2007-03-01 03:27:53 +00:00
sync896.py * Silly mistake on making sync895 and sync896- I didn't create the field 2007-03-01 03:27:53 +00:00
sync897.py * Some new tests. That bring new failures. :) 2007-02-27 20:49:23 +00:00
sync898.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync899.py * Indentation changes - 4 spaces for python, we standardized this before (and 2007-02-21 06:33:13 +00:00
sync900.py Add two new pactests for FS #6057 2007-06-10 20:14:20 -04:00
sync901.py Add two new pactests for FS #6057 2007-06-10 20:14:20 -04:00
sync990.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync992.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
sync999.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
sync1000.py James Rosten <seinfeld90@gmail.com> 2007-03-19 04:23:45 +00:00
sync1001.py * Updated Italian translation 2007-03-21 22:15:50 +00:00
sync1002.py Add sync1002 pactest. 2007-07-20 10:33:42 -04:00
sync1003.py Add sync1003 pactest. 2007-08-20 15:24:28 -04:00
TESTS * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
type001.py Add mode and type checking to pactest for files 2007-07-01 20:03:15 -04:00
upgrade001.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
upgrade002.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
upgrade003.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
upgrade004.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
upgrade010.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
upgrade020.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
upgrade021.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
upgrade022.py Added pactest to repository, from Aurelien Foret: 2006-10-15 19:04:27 +00:00
upgrade023.py * By Roman's request - proactive backup=() entry test case 2007-03-04 10:27:49 +00:00
upgrade030.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
upgrade031.py Add --asdeps option to pacman 2007-07-15 12:46:02 -04:00
upgrade040.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
upgrade041.py * Changes to quite a few of the tests, mostly minimal changes (better 2007-02-23 06:50:42 +00:00
upgrade050.py * Added 5 new upgrade tests, which check various things with depends, 2007-02-27 01:34:07 +00:00
upgrade051.py * Added 5 new upgrade tests, which check various things with depends, 2007-02-27 01:34:07 +00:00
upgrade052.py * Added another test as suggested by Nagy on the ML- a package both provides 2007-02-28 04:00:21 +00:00
upgrade053.py * Added another test as suggested by Nagy on the ML- a package both provides 2007-02-28 04:00:21 +00:00
upgrade054.py * Added another test as suggested by Nagy on the ML- a package both provides 2007-02-28 04:00:21 +00:00
upgrade055.py * Added another test as suggested by Nagy on the ML- a package both provides 2007-02-28 04:00:21 +00:00
upgrade056.py libalpm/add.c,trans.c : cleanup of requiredby handling. 2007-08-20 15:23:53 -04:00
upgrade057.py * Added another test as suggested by Nagy on the ML- a package both provides 2007-02-28 04:00:21 +00:00
upgrade058.py James Rosten <seinfeld90@gmail.com> 2007-03-19 04:23:45 +00:00
upgrade059.py Add five new pactest tests where pacman currently fails 2007-06-04 17:00:30 -04:00
upgrade060.py Add five new pactest tests where pacman currently fails 2007-06-04 17:00:30 -04:00
upgrade061.py Add five new pactest tests where pacman currently fails 2007-06-04 17:00:30 -04:00
xfercommand001.py Added this test to check the XferCommand functionality 2007-03-05 18:06:45 +00:00