Closed dhaynespls closed 3 years ago
⌘ ~/d/cfrpki (master)> make test
go test -v ./...
? github.com/cloudflare/cfrpki/ca [no test files]
? github.com/cloudflare/cfrpki/cmd/ctrpki [no test files]
? github.com/cloudflare/cfrpki/cmd/localrpki [no test files]
? github.com/cloudflare/cfrpki/cmd/octorpki [no test files]
=== RUN TestValid
--- PASS: TestValid (0.00s)
=== RUN TestInvalid
--- PASS: TestInvalid (0.00s)
=== RUN TestUnknown
--- PASS: TestUnknown (0.00s)
PASS
ok github.com/cloudflare/cfrpki/ov 0.312s
? github.com/cloudflare/cfrpki/sync/api [no test files]
? github.com/cloudflare/cfrpki/sync/lib [no test files]
=== RUN TestEncodeSIA
--- PASS: TestEncodeSIA (0.00s)
=== RUN TestEncodeIPBlocks
--- PASS: TestEncodeIPBlocks (0.00s)
=== RUN TestEncodeASN
--- PASS: TestEncodeASN (0.00s)
=== RUN TestMakeCertificate
--- PASS: TestMakeCertificate (0.02s)
=== RUN TestEncodeMFTContent
--- PASS: TestEncodeMFTContent (0.08s)
=== RUN TestEncodeROAEntries
--- PASS: TestEncodeROAEntries (0.00s)
=== RUN TestEncodeROA
--- PASS: TestEncodeROA (0.04s)
=== RUN TestValidateROAEntry
--- PASS: TestValidateROAEntry (0.00s)
=== RUN TestEncodeTAL
--- PASS: TestEncodeTAL (0.35s)
=== RUN TestDecodeTAL
--- PASS: TestDecodeTAL (0.00s)
=== RUN TestEncodeXMLContent
--- PASS: TestEncodeXMLContent (0.32s)
PASS
ok github.com/cloudflare/cfrpki/validator/lib 1.151s
=== RUN TestPKI
pki_test.go:110: Creating keys
pki_test.go:143: Creating TAL
pki_test.go:154: Creating certificates
pki_test.go:229: Creating root certificate
pki_test.go:256: Creating CRL
pki_test.go:301: Creating ROAs
pki_test.go:350: Creating manifest
pki_test.go:474: Validating
--- PASS: TestPKI (0.04s)
PASS
ok github.com/cloudflare/cfrpki/validator/pki 0.578s
Closes #91