From 9a08cbfcc1ef900a04580f35afe2a4592d7d6030 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 02:45:20 +0200 Subject: Adding upstream version 1.19.8. Signed-off-by: Daniel Baumann --- scripts/t/Dpkg_Control/bogus-armor-double.dsc | 13 +++++++++++ scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc | 19 ++++++++++++++++ scripts/t/Dpkg_Control/bogus-armor-inline.dsc | 9 ++++++++ scripts/t/Dpkg_Control/bogus-armor-nested.dsc | 15 +++++++++++++ scripts/t/Dpkg_Control/bogus-armor-no-sig.dsc | 4 ++++ scripts/t/Dpkg_Control/bogus-armor-spaces.dsc | 18 +++++++++++++++ scripts/t/Dpkg_Control/bogus-armor-trail.dsc | 14 ++++++++++++ scripts/t/Dpkg_Control/bogus-unsigned.dsc | 5 +++++ scripts/t/Dpkg_Control/control-1 | 30 +++++++++++++++++++++++++ 9 files changed, 127 insertions(+) create mode 100644 scripts/t/Dpkg_Control/bogus-armor-double.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-armor-inline.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-armor-nested.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-armor-no-sig.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-armor-spaces.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-armor-trail.dsc create mode 100644 scripts/t/Dpkg_Control/bogus-unsigned.dsc create mode 100644 scripts/t/Dpkg_Control/control-1 (limited to 'scripts/t/Dpkg_Control') 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 -- cgit v1.2.3