poky/meta-selftest/recipes-test/devtool
Peter Kjellerstedt c0f3bc79b3 devtool: reset: Escape command line input used in regular expression
Running, e.g., `devtool reset sdbus-c++` would result in the following
error:

  re.error: multiple repeat at position 35

This was due to the ++ in the recipe name, which would be treated as an
incorrect regular expression in _reset().

Use re.escape() to make sure all characters in the recipe name are
treated literally.

(From OE-Core rev: 6e73bd9b3e6d529752db93879f2c0ed53873dd1a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-20 11:29:04 +00:00
..
devtool-patch-overrides selftest: add Upstream-Status to .patch files 2024-06-10 14:27:24 +01:00
devtool-test-ignored selftest: add Upstream-Status to .patch files 2024-06-10 14:27:24 +01:00
devtool-test-local devtool: process local files only for the main branch 2022-12-31 17:10:21 +00:00
devtool-test-localonly devtool: process local files only for the main branch 2022-12-31 17:10:21 +00:00
devtool-test-long-filename selftest: add Upstream-Status to .patch files 2024-06-10 14:27:24 +01:00
devtool-test-patch-gz devtool: update-recipe: fix handling of compressed local patches 2016-11-23 11:10:13 +00:00
devtool-test-reset-re++ devtool: reset: Escape command line input used in regular expression 2025-03-20 11:29:04 +00:00
devtool-test-subdir oe-selftest: devtool: test that updating a file with subdir= works 2016-11-23 11:10:13 +00:00
devtool-upgrade-test1-1.5.3 selftest: add Upstream-Status to .patch files 2024-06-10 14:27:24 +01:00
devtool-patch-overrides.bb Convert to new override syntax 2021-08-02 15:44:10 +01:00
devtool-test-ignored.bb meta-selftest: add test of .gitignore in tarball 2020-06-04 13:27:29 +01:00
devtool-test-local_6.03.bb devtool: process local files only for the main branch 2022-12-31 17:10:21 +00:00
devtool-test-localonly.bb devtool: Drop oe-local-files and simplify 2024-05-21 12:08:04 +01:00
devtool-test-long-filename.bb meta-selftest: add test for .patch file with long filename and without subject 2020-06-04 13:27:29 +01:00
devtool-test-patch-gz.bb meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers 2022-02-20 16:45:25 +00:00
devtool-test-reset-re++.bb devtool: reset: Escape command line input used in regular expression 2025-03-20 11:29:04 +00:00
devtool-test-subdir.bb recipes-test: exclude recipes from world target 2017-01-16 18:05:13 +00:00
devtool-upgrade-test1_1.5.3.bb selftest: check that 'devtool upgrade' correctly drops backported patches 2019-11-21 23:08:20 +00:00
devtool-upgrade-test1_1.5.3.bb.upgraded devtool: do not write md5sums into upgraded recipes 2020-05-21 10:52:07 +01:00
devtool-upgrade-test2_git.bb recipes/classes/scripts: Drop SRCPV usage in OE-Core 2023-08-24 16:50:24 +01:00
devtool-upgrade-test2_git.bb.upgraded recipes/classes/scripts: Drop SRCPV usage in OE-Core 2023-08-24 16:50:24 +01:00
devtool-upgrade-test3_1.5.3.bb devtool: upgrade: Update all existing checksums for the SRC_URI 2023-12-08 16:58:34 +00:00
devtool-upgrade-test3_1.5.3.bb.upgraded devtool: upgrade: Update all existing checksums for the SRC_URI 2023-12-08 16:58:34 +00:00
devtool-upgrade-test4_1.5.3.bb devtool: upgrade: Update all existing checksums for the SRC_URI 2023-12-08 16:58:34 +00:00
devtool-upgrade-test4_1.5.3.bb.upgraded devtool: upgrade: Update all existing checksums for the SRC_URI 2023-12-08 16:58:34 +00:00