From a1f5f2ffbc1ca72587154703f345051fd655c5ab Mon Sep 17 00:00:00 2001 From: tb <> Date: Thu, 14 May 2020 18:09:25 +0000 Subject: reinstate an error check that was commented out while waiting for arm packages to appear --- src/regress/lib/libcrypto/wycheproof/wycheproof.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 5e3c5e46e6..e36dbe219a 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.118 2020/04/27 19:42:34 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.119 2020/05/14 18:09:25 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018, 2019 Theo Buehler @@ -2761,10 +2761,9 @@ func main() { if err != nil { log.Fatalf("Failed to glob %v test vectors: %v", test.name, err) } - // XXX put check back after wycheproof-testvectors update to 20191214 - // if len(tvs) == 0 { - // log.Fatalf("Failed to find %v test vectors at %q\n", test.name, testVectorPath) - // } + if len(tvs) == 0 { + log.Fatalf("Failed to find %v test vectors at %q\n", test.name, testVectorPath) + } for _, tv := range tvs { if test.variant == Skip || (test.variant == Normal && skipNormal.Match([]byte(tv))) { fmt.Printf("INFO: Skipping tests from \"%s\"\n", strings.TrimPrefix(tv, testVectorPath+"/")) -- cgit v1.2.3-55-g6feb