summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* src/deps.sh: Shift function argumentsPatrick McDermott2019-04-251-1/+4
| | | | Also update copyright notice.
* src/control.sh: Update copyright noticePatrick McDermott2019-04-251-1/+1
|
* run_cmd(): Make "set -e"-safePatrick McDermott2019-04-251-2/+2
|
* is_cmd(): Drop dead returnPatrick McDermott2019-04-251-2/+0
|
* tests/parse_control.*.sh: RemovePatrick McDermott2019-04-253-105/+0
|
* tests/aux/common.sh: Check whitespace in is_diff()Patrick McDermott2019-04-251-2/+2
|
* tests/parse_control.sh: New test filePatrick McDermott2019-04-252-0/+177
|
* parse_control(): Fix/improve missing fields handlingPatrick McDermott2019-04-241-5/+12
|
* parse_control(): Protect cat cmd from operands beginning with "-"Patrick McDermott2019-04-241-1/+1
|
* parse_control(): Drop field callback dead codePatrick McDermott2019-04-231-6/+0
| | | | | | The callback function is already called in the paragraph case in the loop, which also resets the field name to the null string, making this final callback code unreachable.
* parse_control(): Rewrite field checkingPatrick McDermott2019-04-231-19/+16
| | | | | | | | Get rid of the printf and grep pipeline and use a case construct instead of a "[" command with a "${parameter%word}" expansion. Also drop the unused check_fields variable, just added in commit 1e585cb.
* package_2_*(): Drop empty req_fields parse_control() argsPatrick McDermott2019-04-231-2/+2
|
* parse_control(): Make req_fields arg optionalPatrick McDermott2019-04-231-1/+10
|
* parse_control(): Convert to [ -n and -z operatorsPatrick McDermott2019-04-231-7/+7
|
* ob_parse_control(): Replace param prefix/suffix removals with readPatrick McDermott2019-04-231-5/+4
|
* ob_parse_control(): Replace if construct with casePatrick McDermott2019-04-231-61/+71
|
* parse_control(): Fix paramsPatrick McDermott2019-04-231-2/+2
|
* _parse_control_error(): Reformat file infoPatrick McDermott2019-04-231-3/+3
|
* parse_control_error(): Make "static"Patrick McDermott2019-04-231-5/+5
|
* parse_control_error(): Move before usePatrick McDermott2019-04-231-19/+19
|
* parse_control_error(): Accept file and line_nr argsPatrick McDermott2019-04-231-17/+19
|
* substvars(): Sync with opkbuildPatrick McDermott2019-04-232-2/+25
|
* set_substvar(): Sync with opkbuildPatrick McDermott2019-04-231-22/+19
|
* substvars_max_depth: Convert to upper casePatrick McDermott2019-04-231-2/+2
|
* tests/substvars.sh: New test filePatrick McDermott2019-04-232-1/+45
|
* tests/aux/common.sh: Add is()Patrick McDermott2019-04-231-1/+18
| | | | Copied from opkbuild.
* tests/*_is_concerned.sh: Mark two tests as XFAILPatrick McDermott2019-04-222-3/+3
|
* src/archplat.sh: Sync with opkbuildPatrick McDermott2019-04-221-67/+68
| | | | | | | | | | | | 4c912ce _ob_match_plat(): Move closer to usage 787a355 _ob_match_plat(): Remove loop ee0c303 _ob_match_arch(): Remove loop 85d78aa ob_match_*(): Make private 1e8d84e ob_match_*(): Drop checks for "all" match arch/plat bb7dd8e ob_match_plat(): Use clearer variable names e6b04d9 Protect [ commands from strings beginning with "-" 9196698 ob_match_arch(): Use clearer variable names 5e69b33 ob_match_arch(): Replace generated ERE with native SCL
* Merge branch 'feature/tap-tests'Patrick McDermott2019-04-2215-405/+1336
|\
| * tests/common.sh: Remove newly unused filePatrick McDermott2019-04-211-110/+0
| |
| * Makefile.am: Override PACKAGE_STRING with git-describe outputPatrick McDermott2019-04-211-1/+11
| | | | | | | | | | | | This makes the test suite output and log a little more informative. Copied from pro-archman.
| * NEWS: Mention TAP conversionsPatrick McDermott2019-04-211-0/+1
| |
| * tests/parse_control.common.sh: Update copyright noticePatrick McDermott2019-04-211-1/+1
| |
| * tests/parse_control.common.sh: Fix locale loadingPatrick McDermott2019-04-211-0/+2
| |
| * tests/parse_control.common.sh: Fix load_locale() callPatrick McDermott2019-04-212-2/+3
| | | | | | | | | | | | Fixes: ./tests/parse_control.basic: 92: ./tests/parse_control.basic: load_locale: not found
| * tests/parse_control.common.sh: Convert to TAPPatrick McDermott2019-04-212-2/+5
| |
| * tests/resolve_deps.basic.sh: Update copyright noticePatrick McDermott2019-04-211-1/+1
| |
| * tests/resolve_deps.basic.sh: Convert to TAPPatrick McDermott2019-04-212-3/+7
| |
| * itests/aux/common.sh: New filePatrick McDermott2019-04-211-0/+71
| |
| * tests/reduce_deps.sh: Convert to TAPPatrick McDermott2019-04-212-38/+112
| |
| * tests/*_is_concerned.sh: Link against tests/aux/tap-functions.shPatrick McDermott2019-04-213-6/+2
| |
| * tests/match_arch.sh, tests/match_plat.sh: RemovePatrick McDermott2019-04-213-150/+0
| | | | | | | | | | | | tests/arch_is_concerned.sh and tests/plat_is_concerned.sh cover match_arch() and match_plat() already, and match_arch() and match_plat() will soon become "static" functions.
| * tests/plat_is_concerned.sh: Convert to TAPPatrick McDermott2019-04-211-41/+94
| |
| * tests/arch_is_concerned.sh: Update copyright noticePatrick McDermott2019-04-211-1/+1
| |
| * tests/arch_is_concerned.sh: Fix copying errorsPatrick McDermott2019-04-211-15/+15
| |
| * Makefile.am: Use build-aux/tap-driver.shPatrick McDermott2019-04-211-0/+1
| |
| * tests/arch_is_concerned.sh: Add test planPatrick McDermott2019-04-211-0/+2
| |
| * tests/arch_is_concerned.sh: Add more test casesPatrick McDermott2019-04-211-0/+37
| | | | | | | | Cf. opkbuild commit 99a6fe6.
| * .gitignore: Fix tests patternsPatrick McDermott2019-04-211-1/+2
| |
| * tests/arch_is_concerned.sh: Convert to TAPPatrick McDermott2019-04-211-48/+100
| |