summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2012-04-29Source the config before the functions as the latter references the formerPierre Schmitz1-1/+1
2012-04-29Respect TMPDIR config when creating the working directoryPierre Schmitz1-0/+2
2012-02-19Fix typo and leftover shm usagePierre Schmitz1-2/+2
2012-02-19Add at least one positive signing testPierre Schmitz1-0/+5
2011-12-19Avoid calls to basenamePierre Schmitz5-14/+14
2011-12-18Validate package signatures on db-updatePierre Schmitz2-5/+44
2011-11-05Add simple tests for db-repo-add and db-repo-removePierre Schmitz2-0/+112
2011-11-05Add test for moving multiple packages at oncePierre Schmitz1-0/+24
2011-11-05Split package database test functions from check* functionsPierre Schmitz1-4/+34
This way we can check consitency of databases independent from a svn repo
2011-11-05check svn entry for any packagesPierre Schmitz1-0/+5
2011-11-05db-remove: support removing multiple packages at oncePierre Schmitz1-0/+25
2011-11-05Adjust tests to use new db-remove interfacePierre Schmitz4-8/+8
2011-08-13update shunit to 2.1.620110813Pierre Schmitz1-475/+407
2011-07-24Fix test for use with recent namcap releasesPierre Schmitz1-2/+2
2011-07-24Use /tmp instead of /dev/shm for temporary filesPierre Schmitz1-1/+1
2011-04-02Add simple checks for handling signed packages20110409Pierre Schmitz2-1/+42
In addition to this dbscripts wont accept unsigned pacakges when REQUIRE_SIGNATURE is set to true. Note: At this point no signature verification is performed at all.
2011-03-26Use repo-add to create the files database for each repo20110326Pierre Schmitz2-28/+35
2011-03-26Adjust test for latest devtools; Be less generic with package extensionPierre Schmitz6-18/+18
2011-03-23Add support for packages which use the epoch variablePierre Schmitz10-5/+86
2011-01-27test: add testUpdateSameAnyPackageToSameRepositoryPierre Schmitz1-3/+12
2010-12-02db-update: Fail if a set of split packages is incompletePierre Schmitz1-0/+23
2010-11-27Fix test: copy target of symlinksPierre Schmitz1-2/+2
2010-11-25Rewrote create-filelistsPierre Schmitz1-0/+110
* use correct locking of the repos * added test case * removes file lists of deleted packages * add compression independent symlink to files db
2010-11-25sourceballs no longer depends on ftpdir-cleanup being runPierre Schmitz1-1/+0
2010-11-25Split tests into several filesPierre Schmitz10-624/+644
* tests can be run seperatly * runTest will run all tests that have the x bit set
2010-11-25Provide more real test packagesPierre Schmitz20-258/+120
* Use devtools instead of plain makepkg * This is a preparation for some more advanced test cases.
2010-11-25Added seperate dryrun options for the packages and sources cleanup scriptsEric Bélanger1-0/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-11-22sourceballs: add for split packagesPierre Schmitz1-0/+21
2010-11-21sourceballs: Support any packagesPierre Schmitz1-0/+15
2010-11-21sourceballs: Don't write any logPierre Schmitz2-15/+0
This is consistent with the other dbscripts. The output will be send to the mailinglist.
2010-11-20Simplify sourceballs creationPierre Schmitz1-1/+0
* Read package lists directly from DB file * Make SVNREPO configurable
2010-11-20Fix sourceballs cron jobPierre Schmitz2-3/+63
* add unit test for sourceballs and cleanup * introduce SRCPOOL and LOGDIR variables in config
2010-09-11Use local config instead of guessing by hostnamePierre Schmitz2-20/+22
Using the hostname to decide which repos to use is not releiable and hard to test. Instead use config.local to configure these. config files for sigurd and gerolde were added which can be copied or symlinked to config.local on the specific host.
2010-09-05Check if package exists in any other repository on update20100906Pierre Schmitz1-1/+44
This also checks if the sam package exists within the old package layout (without package pool)
2010-09-05Fix updating of same package into different repositories at aoncePierre Schmitz1-0/+20
See FS#20745
2010-09-01Simplify repo configurationPierre Schmitz1-3/+13
* Repositories can now be defined in the config file for each host * added community-staging, gnome-unstable and kde-unstable * Exception is the adjust-permission cron-job; but we might want to use acls in future anyway Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-08-22add makepkg.conf for [multilib]Pierre Schmitz1-2/+2
2010-08-18Fix cleanup of old packagesPierre Schmitz1-0/+43
* This should fix the cleanup of packages that were not within the pacakge pool before being updated. * a test case for this was added
2010-08-17Don't try to update no packagePierre Schmitz1-0/+6
Check if there are packages to update for given architecure. Previously db-update quit when only one arch of a package was available.
2010-08-17Add [staging] repositoryPierre Schmitz1-2/+2
2010-08-15add test for testing2xPierre Schmitz1-0/+26
2010-08-15add test to check updating a packagePierre Schmitz2-1/+20
2010-08-15Move packages of all arches within one transactionPierre Schmitz1-16/+5
db-move does no longer need a specific architecture. It will move all architecures of a given package at once. testing2x has been rewritten to respect these changes and testing2x64 is no longer needed.
2010-08-14Prepare support for multiple packages in db-movePierre Schmitz1-5/+5
2010-08-14Rewrite of db-updatePierre Schmitz1-13/+13
* db-update now updates all repos with packages in its staging dirs * sanity checks are performed before any repo is touched * improved performance * less code; easier to maintain
2010-08-13Use common functions to print messages, warnings and errorsPierre Schmitz1-6/+4
These functions are copied from makepkg
2010-08-13Check permission before any actionPierre Schmitz1-16/+33
Added a function to check if user has permission to alter the repos and db files.
2010-08-10Use more consitent naming for package poolPierre Schmitz2-11/+12
There are no longer architecture-specific subdirs and the structure was switch to this: ftp └── pool ├── community └── packages packages contains all packages from core, extra and testing; this naming is in sync with the svn repo naming: svn-packages and svn-community
2010-08-08Move common function to db-functionsPierre Schmitz1-3/+3
db-functions now sets an individual $WORKDIR and implements trap functinos that remove locks on exit or error. There are new functions to lock and unlock the running script. misc-scripts/ftpdir-cleanup was renamed to ftpdir-cleanup-repo as the cron-job had the same name. Script names have to be unique when using db-functions.
2010-08-08Prepare for variable db file compressionPierre Schmitz1-4/+4