Commit 5ca96d1
committed
Test Debian copyright for full match details
The Debian copyright tests expected data were just a list of items
without an attribute name telling what each item was.
This fixes this by making the expected YAML results a dictionary rather
than a list. It also adds the full match details to the expected results such that we can better assess what failed and how and can better
update the tests as we improve license detection.
Signed-off-by: Philippe Ombredanne <[email protected]>1 parent 23c4b6e commit 5ca96d1
File tree
379 files changed
+133585
-2099
lines changed- tests/packagedcode
- data/debian/copyright
- debian-2019-11-15
- main
- a
- acme-tiny
- apache2
- appstream
- asterisk
- b/backup-manager
- c
- clamav
- cryptsetup
- cups
- d
- dbconfig-common
- devscripts
- dma
- dovecot
- dpdk
- e
- e2fsprogs
- enigmail
- epiphany-browser
- erlang-p1-pkix
- f
- fig2dev
- freeorion
- fuse-emulator
- fusiondirectory
- g
- ghostscript
- glib2.0
- gnome-bluetooth
- gnome-control-center
- gnupg2
- golang-1.11
- libs/libsdl2-image
- libt/libtk-img
- libx/libxslt
- l
- lacme
- linux-signed-amd64
- linux-signed-arm64
- linux-signed-i386
- linux
- m/mariadb-10.3
- n
- ncbi-tools6
- ncurses
- newsboat
- nextcloud-desktop
- nginx
- node-lodash
- o
- open-infrastructure-compute-tools
- open-vm-tools
- openldap
- osmpbf
- p
- pam-u2f
- pango1.0
- perl
- pulseaudio
- python-django
- r
- reportbug
- ruby-airbrussh
- s
- sendmail
- slirp4netns
- subversion
- systemd
- t/tzdata
- u/unzip
- w
- webkit2gtk
- win32-loader
- x/xymon
- z/z3
- non-free
- f/firmware-nonfree
- mongodb-org-mongos
- mongodb-org-server
- mongodb-org-shell
- mongodb-org-tools
- mongodb-org
- r/raspi3-firmware
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
379 files changed
+133585
-2099
lines changedLines changed: 40 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
Lines changed: 40 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments