diff options
Diffstat (limited to 'tests/manifest/testscript')
-rw-r--r-- | tests/manifest/testscript | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/manifest/testscript b/tests/manifest/testscript index a271a74..3d6b060 100644 --- a/tests/manifest/testscript +++ b/tests/manifest/testscript @@ -102,6 +102,49 @@ EOE } + : license + : + { + : no-scheme + : + $* <<EOF >>EOF + : 1 + name: libfoo + version: 2.0.0 + summary: Modern C++ parser + license: MIT + EOF + + : other-scheme + : + $* <<EOF >>EOF + : 1 + name: libfoo + version: 2.0.0 + summary: Modern C++ parser + license: other:proprietary + EOF + + : user-defined + : + $* <<EOF >>EOF + : 1 + name: libfoo + version: 2.0.0 + summary: Modern C++ parser + license: DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2; MIT-alike + EOF + + : invalid-scheme + : + $* <<EOI 2>>EOE != 0 + : 1 + license: custom:proprietary + EOI + stdin:2:10: error: invalid package license scheme + EOE + } + : topics : { |