]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: fix ptest test count
authorChee Yang Lee <chee.yang.lee@intel.com>
Mon, 5 Oct 2020 08:38:43 +0000 (16:38 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 5 Oct 2020 14:29:40 +0000 (04:29 -1000)
patche added in commit c2710903859a5545aa9dd56251f61667ee8d80bd
failed ptest perl.t/re/pat. The patch updates incorrect test cases
count causes the ptest to fail.
864 test cases before apply the patch while the patch added only 4
test cases so it should be 868 instead of 873.

ptest-runner log :-
  PASS: t/re/overload
  # Looks like you planned 873 tests but ran 868.
  FAIL: t/re/pat
  PASS: t/re/pat_advanced

[YOCTO #14071]

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com<mailto:chee.yang.lee@intel.com>>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/perl/files/CVE-2020-12723.patch

index ad195cffab0441a3a281e63d5ff09e55b6ffae20..d25f4d4a740eaa8d349358d620a5eb89ee1a3734 100644 (file)
@@ -265,7 +265,7 @@ index 6a868f4..2869b58 100644
  skip_all_without_unicode_tables();
  
 -plan tests => 864;  # Update this when adding/deleting tests.
-+plan tests => 873;  # Update this when adding/deleting tests.
++plan tests => 868;  # Update this when adding/deleting tests.
  
  run_tests() unless caller;