aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/task.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest/task.test')
-rw-r--r--tests/manifest/task.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/manifest/task.test b/tests/manifest/task.test
index 09777b1..cbb4598 100644
--- a/tests/manifest/task.test
+++ b/tests/manifest/task.test
@@ -16,6 +16,8 @@ test.options += -t
name: libfoo
version: 1.0
repository: http://pkg.example.org/1/math
+ trust: AB:0D:3F:C1:B0:13:E4:0E:AD:4A:08:06:AE:F3:85:DB:E2:27:5F:83:11:47:A2:7\
+ 8:64:3C:73:60:F8:66:3A:A4
machine: windows_10-msvc_14
target: x86_64-microsoft-win32-msvc14.0
config: config.cc.coptions=/Z7 config.cc.loptions=/DEBUG
@@ -68,6 +70,19 @@ test.options += -t
config: abc='a "b '"d\e x y="
EOF
}
+
+ : trust-yes
+ :
+ $* <<EOF >>EOF
+ : 1
+ name: libfoo
+ version: 1.0
+ repository: http://pkg.example.org/1/math
+ trust: yes
+ machine: windows_10-msvc_14
+ target: x86_64-microsoft-win32-msvc14.0
+ config: config.cc.coptions=/Z7 config.cc.loptions=/DEBUG
+ EOF
}
: redefinition
@@ -210,6 +225,13 @@ test.options += -t
EOI
}
}
+
+ : trust
+ :
+ $* <<EOI 2>'stdin:2:8: error: invalid repository certificate fingerprint' == 1
+ : 1
+ trust: abc
+ EOI
}
: unknown-name