diff options
author | bluhm <> | 2018-09-02 20:09:29 +0000 |
---|---|---|
committer | bluhm <> | 2018-09-02 20:09:29 +0000 |
commit | edf4da25529c015440718af7ef02200395701776 (patch) | |
tree | 10d452f9e94675dc033ef02c4ed9e019347bdf1c | |
parent | 521f43d51b8d3c7c060d68fb8dab2ed6f7a5e780 (diff) | |
download | openbsd-edf4da25529c015440718af7ef02200395701776.tar.gz openbsd-edf4da25529c015440718af7ef02200395701776.tar.bz2 openbsd-edf4da25529c015440718af7ef02200395701776.zip |
Print SKIPPED if package wycheproof-testvectors is missing. This
is the magic string that is recognized by my test framework.
OK tb@
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index b6fb0968ea..3e8b399e3b 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wycheproof.go,v 1.44 2018/09/02 17:29:17 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.45 2018/09/02 20:09:29 bluhm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
@@ -1596,7 +1596,7 @@ func runTestVectors(path string) bool { | |||
1596 | func main() { | 1596 | func main() { |
1597 | if _, err := os.Stat(testVectorPath); os.IsNotExist(err) { | 1597 | if _, err := os.Stat(testVectorPath); os.IsNotExist(err) { |
1598 | fmt.Printf("package wycheproof-testvectors is required for this regress\n") | 1598 | fmt.Printf("package wycheproof-testvectors is required for this regress\n") |
1599 | fmt.Printf("SKIPPING\n") | 1599 | fmt.Printf("SKIPPED\n") |
1600 | os.Exit(0) | 1600 | os.Exit(0) |
1601 | } | 1601 | } |
1602 | 1602 | ||