Skip to content

Commit aac2123

Browse files
Fix failing tests
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent 1a0a79c commit aac2123

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

src/licensedcode/data/rules/apache-2.0_1345.RULE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ ignorable_urls:
1111

1212
This software is licensed as described in the file COPYING, which
1313
you should have received as part of this distribution. The terms
14-
are also available at http://subversion.tigris.org/license-1.html.
14+
are also available at {{http://subversion.tigris.org/license-1.html}}
1515
If newer versions of this license are posted there, you may use a
1616
newer version instead, at your option.
1717

1818
This software consists of voluntary contributions made by many
1919
individuals. For exact contribution history, see the revision
20-
history and logs, available at http://subversion.tigris.org/.
20+
history and logs, available at {{http://subversion.tigris.org/}}.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
license_expressions:
22
- unicode
3+
- unknown-license-reference

tests/packagedcode/data/debian/copyright/debian-2019-11-15/main/m/mariadb-10.3/stable_copyright-detailed.expected.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -524,16 +524,16 @@ other_license_detections:
524524
identifier: lgpl_2_0_plus_and_lgpl_2_0-9618c993-f50f-833f-bab4-b076894634e9
525525
- license_expression: bsd-new
526526
matches:
527-
- score: '53.47'
527+
- score: '63.19'
528528
start_line: 925
529529
end_line: 934
530530
matched_length: 60
531-
match_coverage: '59.41'
531+
match_coverage: '63.83'
532532
matcher: 3-seq
533533
license_expression: bsd-new
534-
rule_identifier: bsd-new_1036.RULE
535-
rule_relevance: 90
536-
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_1036.RULE
534+
rule_identifier: bsd-new_1374.RULE
535+
rule_relevance: 99
536+
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_1374.RULE
537537
matched_text: |
538538
Redistribution and use in source and binary forms, with or without
539539
modification, are permitted provided that the following conditions are
@@ -545,7 +545,7 @@ other_license_detections:
545545
2. Redistributions in binary form must the following disclaimer in
546546
the documentation and/or other materials provided with the
547547
distribution.
548-
identifier: bsd_new-7c8321ea-5f82-974c-692b-936bcaabf520
548+
identifier: bsd_new-bee97273-3ab1-9998-6318-02cf08215b30
549549
- license_expression: bsd-new
550550
matches:
551551
- score: '100.0'

tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/login/copyright-detailed.expected.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ other_license_expression_spdx:
66
license_detections:
77
- license_expression: bsd-new
88
matches:
9-
- score: '97.18'
9+
- score: '100.0'
1010
start_line: 20
1111
end_line: 42
12-
matched_length: 207
12+
matched_length: 214
1313
match_coverage: '100.0'
14-
matcher: 3-seq
14+
matcher: 2-aho
1515
license_expression: bsd-new
16-
rule_identifier: bsd-new_67.RULE
16+
rule_identifier: bsd-new_1373.RULE
1717
rule_relevance: 100
18-
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_67.RULE
18+
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_1373.RULE
1919
matched_text: |
2020
Redistribution and use in source and binary forms, with or without
2121
modification, are permitted provided that the following conditions
@@ -40,7 +40,7 @@ license_detections:
4040
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
4141
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
4242
SUCH DAMAGE.
43-
identifier: bsd_new-44167a67-f95e-380d-3fbb-e5be5e832c48
43+
identifier: bsd_new-a12452d6-4cce-854f-824e-72aab36acfaf
4444
- license_expression: tcp-wrappers
4545
matches:
4646
- score: '100.0'

tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/passwd/copyright-detailed.expected.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ other_license_expression_spdx:
66
license_detections:
77
- license_expression: bsd-new
88
matches:
9-
- score: '97.18'
9+
- score: '100.0'
1010
start_line: 20
1111
end_line: 42
12-
matched_length: 207
12+
matched_length: 214
1313
match_coverage: '100.0'
14-
matcher: 3-seq
14+
matcher: 2-aho
1515
license_expression: bsd-new
16-
rule_identifier: bsd-new_67.RULE
16+
rule_identifier: bsd-new_1373.RULE
1717
rule_relevance: 100
18-
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_67.RULE
18+
rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_1373.RULE
1919
matched_text: |
2020
Redistribution and use in source and binary forms, with or without
2121
modification, are permitted provided that the following conditions
@@ -40,7 +40,7 @@ license_detections:
4040
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
4141
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
4242
SUCH DAMAGE.
43-
identifier: bsd_new-44167a67-f95e-380d-3fbb-e5be5e832c48
43+
identifier: bsd_new-a12452d6-4cce-854f-824e-72aab36acfaf
4444
- license_expression: tcp-wrappers
4545
matches:
4646
- score: '100.0'

0 commit comments

Comments
 (0)