Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | dir_is_empty(): Move shift and remove duplicate pattern | Patrick McDermott | 2019-04-25 | 1 | -3/+3 |
| | | | | Also update copyright notice. | ||||
* | src/deps.sh: Shift function arguments | Patrick McDermott | 2019-04-25 | 1 | -1/+4 |
| | | | | Also update copyright notice. | ||||
* | src/control.sh: Update copyright notice | Patrick McDermott | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | run_cmd(): Make "set -e"-safe | Patrick McDermott | 2019-04-25 | 1 | -2/+2 |
| | |||||
* | is_cmd(): Drop dead return | Patrick McDermott | 2019-04-25 | 1 | -2/+0 |
| | |||||
* | tests/parse_control.*.sh: Remove | Patrick McDermott | 2019-04-25 | 3 | -105/+0 |
| | |||||
* | tests/aux/common.sh: Check whitespace in is_diff() | Patrick McDermott | 2019-04-25 | 1 | -2/+2 |
| | |||||
* | tests/parse_control.sh: New test file | Patrick McDermott | 2019-04-25 | 2 | -0/+177 |
| | |||||
* | parse_control(): Fix/improve missing fields handling | Patrick McDermott | 2019-04-24 | 1 | -5/+12 |
| | |||||
* | parse_control(): Protect cat cmd from operands beginning with "-" | Patrick McDermott | 2019-04-24 | 1 | -1/+1 |
| | |||||
* | parse_control(): Drop field callback dead code | Patrick McDermott | 2019-04-23 | 1 | -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 checking | Patrick McDermott | 2019-04-23 | 1 | -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() args | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | parse_control(): Make req_fields arg optional | Patrick McDermott | 2019-04-23 | 1 | -1/+10 |
| | |||||
* | parse_control(): Convert to [ -n and -z operators | Patrick McDermott | 2019-04-23 | 1 | -7/+7 |
| | |||||
* | ob_parse_control(): Replace param prefix/suffix removals with read | Patrick McDermott | 2019-04-23 | 1 | -5/+4 |
| | |||||
* | ob_parse_control(): Replace if construct with case | Patrick McDermott | 2019-04-23 | 1 | -61/+71 |
| | |||||
* | parse_control(): Fix params | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | _parse_control_error(): Reformat file info | Patrick McDermott | 2019-04-23 | 1 | -3/+3 |
| | |||||
* | parse_control_error(): Make "static" | Patrick McDermott | 2019-04-23 | 1 | -5/+5 |
| | |||||
* | parse_control_error(): Move before use | Patrick McDermott | 2019-04-23 | 1 | -19/+19 |
| | |||||
* | parse_control_error(): Accept file and line_nr args | Patrick McDermott | 2019-04-23 | 1 | -17/+19 |
| | |||||
* | substvars(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 2 | -2/+25 |
| | |||||
* | set_substvar(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 1 | -22/+19 |
| | |||||
* | substvars_max_depth: Convert to upper case | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | tests/substvars.sh: New test file | Patrick McDermott | 2019-04-23 | 2 | -1/+45 |
| | |||||
* | tests/aux/common.sh: Add is() | Patrick McDermott | 2019-04-23 | 1 | -1/+18 |
| | | | | Copied from opkbuild. | ||||
* | tests/*_is_concerned.sh: Mark two tests as XFAIL | Patrick McDermott | 2019-04-22 | 2 | -3/+3 |
| | |||||
* | src/archplat.sh: Sync with opkbuild | Patrick McDermott | 2019-04-22 | 1 | -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 McDermott | 2019-04-22 | 15 | -405/+1336 |
|\ | |||||
| * | tests/common.sh: Remove newly unused file | Patrick McDermott | 2019-04-21 | 1 | -110/+0 |
| | | |||||
| * | Makefile.am: Override PACKAGE_STRING with git-describe output | Patrick McDermott | 2019-04-21 | 1 | -1/+11 |
| | | | | | | | | | | | | This makes the test suite output and log a little more informative. Copied from pro-archman. | ||||
| * | NEWS: Mention TAP conversions | Patrick McDermott | 2019-04-21 | 1 | -0/+1 |
| | | |||||
| * | tests/parse_control.common.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/parse_control.common.sh: Fix locale loading | Patrick McDermott | 2019-04-21 | 1 | -0/+2 |
| | | |||||
| * | tests/parse_control.common.sh: Fix load_locale() call | Patrick McDermott | 2019-04-21 | 2 | -2/+3 |
| | | | | | | | | | | | | Fixes: ./tests/parse_control.basic: 92: ./tests/parse_control.basic: load_locale: not found | ||||
| * | tests/parse_control.common.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -2/+5 |
| | | |||||
| * | tests/resolve_deps.basic.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/resolve_deps.basic.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -3/+7 |
| | | |||||
| * | itests/aux/common.sh: New file | Patrick McDermott | 2019-04-21 | 1 | -0/+71 |
| | | |||||
| * | tests/reduce_deps.sh: Convert to TAP | Patrick McDermott | 2019-04-21 | 2 | -38/+112 |
| | | |||||
| * | tests/*_is_concerned.sh: Link against tests/aux/tap-functions.sh | Patrick McDermott | 2019-04-21 | 3 | -6/+2 |
| | | |||||
| * | tests/match_arch.sh, tests/match_plat.sh: Remove | Patrick McDermott | 2019-04-21 | 3 | -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 TAP | Patrick McDermott | 2019-04-21 | 1 | -41/+94 |
| | | |||||
| * | tests/arch_is_concerned.sh: Update copyright notice | Patrick McDermott | 2019-04-21 | 1 | -1/+1 |
| | | |||||
| * | tests/arch_is_concerned.sh: Fix copying errors | Patrick McDermott | 2019-04-21 | 1 | -15/+15 |
| | | |||||
| * | Makefile.am: Use build-aux/tap-driver.sh | Patrick McDermott | 2019-04-21 | 1 | -0/+1 |
| | | |||||
| * | tests/arch_is_concerned.sh: Add test plan | Patrick McDermott | 2019-04-21 | 1 | -0/+2 |
| | | |||||
| * | tests/arch_is_concerned.sh: Add more test cases | Patrick McDermott | 2019-04-21 | 1 | -0/+37 |
| | | | | | | | | Cf. opkbuild commit 99a6fe6. | ||||
| * | .gitignore: Fix tests patterns | Patrick McDermott | 2019-04-21 | 1 | -1/+2 |
| | |