mirror of https://github.com/docker/docs.git
Update integration test to exclude yubikeys from importing/exporting non-root
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
parent
9010989a20
commit
36c33e6732
|
@ -1087,6 +1087,10 @@ func getKeySubdir(role, gun string) string {
|
||||||
|
|
||||||
// Tests importing and exporting keys for all different roles and GUNs
|
// Tests importing and exporting keys for all different roles and GUNs
|
||||||
func TestClientKeyImportExportAllRoles(t *testing.T) {
|
func TestClientKeyImportExportAllRoles(t *testing.T) {
|
||||||
|
if rootOnHardware() {
|
||||||
|
t.Log("Cannot import or export a non-root key from hardware. Will skip test.")
|
||||||
|
return
|
||||||
|
}
|
||||||
// -- setup --
|
// -- setup --
|
||||||
setUp(t)
|
setUp(t)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue