Print SKIPPED if package wycheproof-testvectors is missing. This
authorbluhm <bluhm@openbsd.org>
Sun, 2 Sep 2018 20:09:29 +0000 (20:09 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 2 Sep 2018 20:09:29 +0000 (20:09 +0000)
is the magic string that is recognized by my test framework.
OK tb@

regress/lib/libcrypto/wycheproof/wycheproof.go

index b6fb096..3e8b399 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: wycheproof.go,v 1.44 2018/09/02 17:29:17 tb Exp $ */
+/* $OpenBSD: wycheproof.go,v 1.45 2018/09/02 20:09:29 bluhm Exp $ */
 /*
  * Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
  * Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -1596,7 +1596,7 @@ func runTestVectors(path string) bool {
 func main() {
        if _, err := os.Stat(testVectorPath); os.IsNotExist(err) {
                fmt.Printf("package wycheproof-testvectors is required for this regress\n")
-               fmt.Printf("SKIPPING\n")
+               fmt.Printf("SKIPPED\n")
                os.Exit(0)
        }