diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-02-22 00:58:53 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-15 19:15:55 +0300 |
commit | a791b1ce0fa2bc9859474fb6f7a9c0ff8cbd1d4a (patch) | |
tree | 3c9823a54e6e28a8c8f9fb281d82ad2a67c117ba /tests/rep-auth | |
parent | 755a99a7ebf24e00675e2f2e0f5184825ad74c4a (diff) |
Port test.sh to testscript
Diffstat (limited to 'tests/rep-auth')
l--------- | tests/rep-auth/expired/foo-1.tar.gz | 1 | ||||
-rw-r--r-- | tests/rep-auth/expired/packages | 11 | ||||
-rw-r--r-- | tests/rep-auth/expired/repositories | 33 | ||||
-rw-r--r-- | tests/rep-auth/expired/signature | 13 | ||||
l--------- | tests/rep-auth/unsigned/foo-1.tar.gz | 1 | ||||
-rw-r--r-- | tests/rep-auth/unsigned/repositories | 1 |
6 files changed, 60 insertions, 0 deletions
diff --git a/tests/rep-auth/expired/foo-1.tar.gz b/tests/rep-auth/expired/foo-1.tar.gz new file mode 120000 index 0000000..d771dc4 --- /dev/null +++ b/tests/rep-auth/expired/foo-1.tar.gz @@ -0,0 +1 @@ +../../common/foo-1.tar.gz
\ No newline at end of file diff --git a/tests/rep-auth/expired/packages b/tests/rep-auth/expired/packages new file mode 100644 index 0000000..4fa075a --- /dev/null +++ b/tests/rep-auth/expired/packages @@ -0,0 +1,11 @@ +: 1 +sha256sum: dbeea68d374f6ca66b5f65652e26a0d8324d3fe118341ac470c07214ceb34b60 +: +name: foo +version: 1 +summary: The "Foo" utility +license: MIT +url: http://www.example.org/foo +email: foo-users@example.org +location: foo-1.tar.gz +sha256sum: fee330a362a4f87ff42a954aa305b6446d541b7b60000ebcd2fbf68f2b1ae58e diff --git a/tests/rep-auth/expired/repositories b/tests/rep-auth/expired/repositories new file mode 100644 index 0000000..7e68ee8 --- /dev/null +++ b/tests/rep-auth/expired/repositories @@ -0,0 +1,33 @@ +: 1 +certificate: \ +-----BE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AQUF +BwMDMBoGA1UdEQQTMBGBD2luZm9AYnVpbGQyLm9yZzANBgkqhkiG9w0BAQsFAAOC +AgEATQmuoB+NC/IF2qoNQnurJWrV63lC4Ozi/VLIqCSR6A4S9TCcoLNDAtcdiyf4 +GrM+/USyV3whpISesXn0ij10OEMe2/9NUoqkO0Q/woN9WtUQActeBxThOcz0NYMi +1vg6krlx1fKpQ5g65yC3qka8VUaV9gtaCHFa6mOxZ9q5DaV2NdBAr+FOutRY6d4v +UySkOyqxfZYLs5W2e+9ofEve17eVNFQwuJY29sw406X+18gYc+KiqldPlwKIhJs1 +CBsWhO0m1GP5dR0gRBmF9WQ4fzNyoYF293ix+WC7eMf2OtRTpo/GEAXDqLlRvpiF +jALhFtcZjiIqrvnkQFq36jyVNcUnxbMKUgW4XJVpYv4uVII47eJk4a8XRGj0d+7b +nuFfT4d6gACN3gfOmtd12uT7dNsn5q0fkGhzR4ppDIyTJpGA8UhHETTRPL+HFcb1 +6kXnRPFS7eoF9DoSGtBhdpRUefj8EPJWhfE7xQvMDTYIE/ccBWp173F+xShr2mgF +xDkHH+vXGFzUZXSEAF2NW9U3bf4bRQpdOkYJsvHJmLYjcGNKdkHjJVWdXmoRpbsR +IC8M7ZPp+/oV5JEinCXRsT1NN+7l8rkec9hNk5sbokVCcyYv+GxL8kRFt2jyLqny +RlM2vM3uhgJNYVSlYsgjjg4QfikV6s+QawjSVi6y4ZnHEho= +-----END CERTIFICATE----- +\ diff --git a/tests/rep-auth/expired/signature b/tests/rep-auth/expired/signature new file mode 100644 index 0000000..454653f --- /dev/null +++ b/tests/rep-auth/expired/signature @@ -0,0 +1,13 @@ +: 1 +sha256sum: ad6c46b7c2b994957215025de0f0ce9be192f6973a8b36f5d3f3d1670172af1e +signature: \ +PQrvkr6ONdIIrEaORzsgpXNpNkMVmdjW8Ahgpi+sdwyjsxkgMj/0gHjyF0amPi6ae+zUu4igDeKM +JnWuShDMbxLy+zxy6IpjpchwtPymM3euqQnLWebRJ2b+9RlBVGIRCl25VnFn+mmHW76+yRnOT6nI +fYNCM6eiLihWKLRUCnsj18PZSV7EK68Q3iPAUws4F4A63eKqJe/qSWkRjJrVpi+UFDjYkJi9542D +MELmYFXV592UVoQ3PPK+ZU/Ja+cosHND9mHe2xvLKHFnBKUi5LKvZ+aZdiZXisnisX9PgvGzk+5j +qzzJUse21NLA2J4D+jiH8r2fj4qjh1dLHgocQj3GQeN8r18XvaLtP9+tcLYfphWnyOfk3q12xtn8 +h9yNoVPHVsMiYrB7JXX2TM4qPqepi3f8iQmEfZxWqlI5/cpeQz3DTDZ4wagNbBoYzavUqTjriXCU +eLWVZz89JkYhWYTBPx26XZp56TsN16ZrN6oMtHgVy6YmmbjIea7sZXhNc8a/7FCdxap8PZfJS1cW +LieoZqQF5C0O8+sJnYl88Pp76mtQIgXEsfc5TnvgMosQfXbHzMbD7naD0woWqu5GVKWx6+AdK2uH +KbuSXYrJYfmuS2Ptp/T7ZIkRE2YZPe4+lsMkIiqY1fg2qIdWgpQiH0ZE3Ki3GH4FUWEkurWgxYk= +\ diff --git a/tests/rep-auth/unsigned/foo-1.tar.gz b/tests/rep-auth/unsigned/foo-1.tar.gz new file mode 120000 index 0000000..d771dc4 --- /dev/null +++ b/tests/rep-auth/unsigned/foo-1.tar.gz @@ -0,0 +1 @@ +../../common/foo-1.tar.gz
\ No newline at end of file diff --git a/tests/rep-auth/unsigned/repositories b/tests/rep-auth/unsigned/repositories new file mode 100644 index 0000000..5b70556 --- /dev/null +++ b/tests/rep-auth/unsigned/repositories @@ -0,0 +1 @@ +: 1 |