summaryrefslogtreecommitdiffstats
path: root/test/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-04-02Add simple checks for handling signed packages20110409Pierre Schmitz1-1/+29
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 Schmitz1-13/+25
2011-03-26Adjust test for latest devtools; Be less generic with package extensionPierre Schmitz1-3/+3
2011-03-23Add support for packages which use the epoch variablePierre Schmitz1-2/+2
2010-11-27Fix test: copy target of symlinksPierre Schmitz1-2/+2
2010-11-25Split tests into several filesPierre Schmitz1-9/+8
* tests can be run seperatly * runTest will run all tests that have the x bit set
2010-11-25Provide more real test packagesPierre Schmitz3-236/+33
* 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-21sourceballs: Don't write any logPierre Schmitz1-2/+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 Schmitz1-3/+4
* add unit test for sourceballs and cleanup * introduce SRCPOOL and LOGDIR variables in config
2010-09-11Use local config instead of guessing by hostnamePierre Schmitz1-12/+14
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-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-17Add [staging] repositoryPierre Schmitz1-2/+2
2010-08-15add test to check updating a packagePierre Schmitz1-1/+2
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 Schmitz1-6/+7
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
2010-08-08Reduce verbosityPierre Schmitz1-3/+1
Only inform of errors and processes that might take longer.
2010-08-08add test for ftpdir-cleanupPierre Schmitz1-1/+2
2010-08-08Use package pool instead of $repo/os/any dirsPierre Schmitz1-0/+2
2010-08-07Simplify tests and add tests for db-movePierre Schmitz1-4/+34
2010-08-07add test for db-removePierre Schmitz1-10/+3
2010-08-07add some common functions for our test suitePierre Schmitz1-0/+113
2010-08-07add default makepkg.conf for both archesPierre Schmitz2-0/+230
2010-08-07add a local copy of shunit2Pierre Schmitz1-0/+1116
This is a local copy of shUnit 2.1.5 from http://shunit2.googlecode.com/ License: LGPL