summaryrefslogtreecommitdiff
path: root/test/test.d
AgeCommit message (Collapse)Author
2016-04-17Consistently use "$(dirname "$(readlink -e "$0")")"Luke Shumaker
This does correct handling of - executing a program by symlink - any weird characters in the full path - I'm sure there's another case I thought about when I originally did this.
2016-04-17Use `grep &>/dev/null` instead of `grep -q` when operating on piped stdin.Luke Shumaker
`grep -q` may exit as soon as it finds a match; this is a good optimization for when the input is a file. However, if the input is the output of another program, then that other program will receive SIGPIPE, and further writes will fail. When this happens, it might (bsdtar does) print a message about a "write error" to stderr. Which is going to confuse and alarm the user. I'll add that this is not purely hypothetical--it has happened to me while running the test suite.
2016-04-17test/: Make which architectures to build for configurable.Luke Shumaker
2016-04-16Fix quoting around variables, especially arrays.Luke Shumaker
Other than pure quoting, this involved: - swapping */@ for array access in a few places - fiddling with printf in a pipeline - replacing `$(echo ${array[@]})` with `${array[*]}` - replacing `echo $(...)` with `...` When searching for these things, I used the command: grep -Prn --exclude-dir=.git '(?<!["=]|\[\[ |\[\[ -[zn] )\$(?!{?#|\(|\? )' and ignored a bunch of false positives.
2013-01-31db-update: Ignore forgeign staging packagesPierre Schmitz
2012-10-27Add the possibility to run all svn commands with a different userPierre Schmitz
* A SVNUSER can be configured in the config file * This user needs to be able to call svn without a password
2012-10-03test: Do not suppress devtools outputPierre Schmitz
2012-06-10Remove support for packages that are not in the package poolPierre Schmitz
2012-06-10Remove support for packages in legacy $repo/os/any directoriesPierre Schmitz
2012-02-19Add at least one positive signing testPierre Schmitz
2011-12-19Avoid calls to basenamePierre Schmitz
2011-12-18Validate package signatures on db-updatePierre Schmitz
2011-11-05Add simple tests for db-repo-add and db-repo-removePierre Schmitz
2011-11-05Add test for moving multiple packages at oncePierre Schmitz
2011-11-05db-remove: support removing multiple packages at oncePierre Schmitz
2011-11-05Adjust tests to use new db-remove interfacePierre Schmitz
2011-07-24Fix test for use with recent namcap releasesPierre Schmitz
2011-04-02Add simple checks for handling signed packagesPierre Schmitz
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 repoPierre Schmitz
2011-03-26Adjust test for latest devtools; Be less generic with package extensionPierre Schmitz
2011-03-23Add support for packages which use the epoch variablePierre Schmitz
2011-01-27test: add testUpdateSameAnyPackageToSameRepositoryPierre Schmitz
2010-12-02db-update: Fail if a set of split packages is incompletePierre Schmitz
2010-11-25Rewrote create-filelistsPierre Schmitz
* 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 Schmitz
2010-11-25Split tests into several filesPierre Schmitz
* tests can be run seperatly * runTest will run all tests that have the x bit set