diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:45:20 +0000 |
commit | 9a08cbfcc1ef900a04580f35afe2a4592d7d6030 (patch) | |
tree | 004cc7027bca2f2c0bcb5806527c8e0c48df2d6e /scripts/t/Dpkg_Control | |
parent | Initial commit. (diff) | |
download | dpkg-upstream/1.19.8.tar.xz dpkg-upstream/1.19.8.zip |
Adding upstream version 1.19.8.upstream/1.19.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/t/Dpkg_Control')
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-double.dsc | 13 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc | 19 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-inline.dsc | 9 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-nested.dsc | 15 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-no-sig.dsc | 4 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-spaces.dsc | 18 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-armor-trail.dsc | 14 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/bogus-unsigned.dsc | 5 | ||||
-rw-r--r-- | scripts/t/Dpkg_Control/control-1 | 30 |
9 files changed, 127 insertions, 0 deletions
diff --git a/scripts/t/Dpkg_Control/bogus-armor-double.dsc b/scripts/t/Dpkg_Control/bogus-armor-double.dsc new file mode 100644 index 0000000..1888a00 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-double.dsc @@ -0,0 +1,13 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Source: pass + +-----BEGIN PGP SIGNATURE----- + +Valid signature here. +-----END PGP SIGNATURE----- +-----BEGIN PGP SIGNATURE----- + +Fake signature here. +-----END PGP SIGNATURE----- diff --git a/scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc b/scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc new file mode 100644 index 0000000..70aab18 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- + +Source: fail + +-----BEGIN PGP SIGNATURE----- +Version: vim v7.3.547 (GNU/Linux) + +Fake signature here. +-----END PGP SIGNATURE----- +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Source: pass + +-----BEGIN PGP SIGNATURE +Version: GnuPG v1.4.12 (GNU/Linux) + +Valid signature here. +-----END PGP SIGNATURE----- diff --git a/scripts/t/Dpkg_Control/bogus-armor-inline.dsc b/scripts/t/Dpkg_Control/bogus-armor-inline.dsc new file mode 100644 index 0000000..44942c1 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-inline.dsc @@ -0,0 +1,9 @@ +Source: fail +-----BEGIN PGP SIGNED MESSAGE----- + +Binary: pass + +-----BEGIN PGP SIGNATURE----- + +Valid signature here. +-----END PGP SIGNATURE----- diff --git a/scripts/t/Dpkg_Control/bogus-armor-nested.dsc b/scripts/t/Dpkg_Control/bogus-armor-nested.dsc new file mode 100644 index 0000000..ca99c35 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-nested.dsc @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Source: pass + +-----BEGIN PGP SIGNATURE----- +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Source: fail + +-----BEGIN PGP SIGNATURE----- + +Valid signature here. +-----END PGP SIGNATURE----- diff --git a/scripts/t/Dpkg_Control/bogus-armor-no-sig.dsc b/scripts/t/Dpkg_Control/bogus-armor-no-sig.dsc new file mode 100644 index 0000000..4502a18 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-no-sig.dsc @@ -0,0 +1,4 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Source: pass diff --git a/scripts/t/Dpkg_Control/bogus-armor-spaces.dsc b/scripts/t/Dpkg_Control/bogus-armor-spaces.dsc new file mode 100644 index 0000000..ab71ab5 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-spaces.dsc @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Source: pass + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +Valid signature here. +-----END PGP SIGNATURE----- + +Source: fail + +-----BEGIN PGP SIGNATURE +Version: vim v7.3.547 (GNU/Linux) + +Fake signature here. +-----END PGP SIGNATURE diff --git a/scripts/t/Dpkg_Control/bogus-armor-trail.dsc b/scripts/t/Dpkg_Control/bogus-armor-trail.dsc new file mode 100644 index 0000000..90b00f1 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-armor-trail.dsc @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE + +Source: fail + +-----BEGIN PGP SIGNATURE +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +Source: pass + +-----BEGIN PGP SIGNATURE----- + +Valid signature here. +-----END PGP SIGNATURE----- diff --git a/scripts/t/Dpkg_Control/bogus-unsigned.dsc b/scripts/t/Dpkg_Control/bogus-unsigned.dsc new file mode 100644 index 0000000..7573eb3 --- /dev/null +++ b/scripts/t/Dpkg_Control/bogus-unsigned.dsc @@ -0,0 +1,5 @@ +-----BEGIN PGP MESSAGE----- + +Source: fail + +-----END PGP MESSAGE----- diff --git a/scripts/t/Dpkg_Control/control-1 b/scripts/t/Dpkg_Control/control-1 new file mode 100644 index 0000000..0c70533 --- /dev/null +++ b/scripts/t/Dpkg_Control/control-1 @@ -0,0 +1,30 @@ +Source: mysource +# This is a comment +numeric-field: 0 +my-field-one: myvalue1 +my-field-two: myvalue2 +long-field: line1 + line 2 line 2 line 2 + . + line 3 line 3 line 3 + . + .. + line 4 +empty-field: + +# First package +Package: mypackage1 +Architecture: any +Depends: libc6 + +# Second package +Package: mypackage2 +Architecture: all +Depends: hello + +Package: mypackage3 +Architecture: all +Depends:hello +Description: short one + long one + very long one |