summaryrefslogtreecommitdiff
path: root/test/test.d/db-update.sh
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
2011-12-19Avoid calls to basenamePierre 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-25Split tests into several filesPierre Schmitz
* tests can be run seperatly * runTest will run all tests that have the x bit set