$ make check ... ../run-tests aes-test arcfour-test arctwo-test blowfish-test bcrypt-test cast128-test base16-test base64-test camellia-test chacha-test cnd-memcpy-test des-test des3-test md2-test md4-test md5-test md5-compat-test memeql-test memxor-test gosthash94-test ripemd160-test hkdf-test salsa20-test sha1-test sha224-test sha256-test sha384-test sha512-test sha512-224-test sha512-256-test sha3-permute-test sha3-224-test sha3-256-test sha3-384-test sha3-512-test shake256-test streebog-test serpent-test twofish-test version-test knuth-lfib-test cbc-test cfb-test ctr-test gcm-test eax-test ccm-test cmac-test siv-test poly1305-test chacha-poly1305-test hmac-test umac-test meta-hash-test meta-cipher-test meta-aead-test meta-armor-test meta-mac-test buffer-test yarrow-test xts-test pbkdf2-test x86-ibt-test sexp-test sexp-format-test rsa2sexp-test sexp2rsa-test bignum-test random-prime-test pkcs1-test pkcs1-sec-decrypt-test pss-test rsa-sign-tr-test pss-mgf1-test rsa-pss-sign-tr-test rsa-test rsa-encrypt-test rsa-keygen-test rsa-sec-decrypt-test rsa-compute-root-test dsa-test dsa-keygen-test curve25519-dh-test curve448-dh-test ecc-mod-test ecc-modinv-test ecc-redc-test ecc-sqrt-test ecc-dup-test ecc-add-test ecc-mul-g-test ecc-mul-a-test ecdsa-sign-test ecdsa-verify-test ecdsa-keygen-test ecdh-test eddsa-compress-test eddsa-sign-test eddsa-verify-test ed25519-test ed448-test gostdsa-sign-test gostdsa-verify-test gostdsa-keygen-test gostdsa-vko-test cxx-test sexp-conv-test pkcs1-conv-test nettle-pbkdf2-test symbols-test dlopen-test /bin/sh: ../run-tests: Permission denied make[1]: *** [check] Error 126 make: *** [check] Error 2
$ cd testsuite/
$ ../run-tests aes-test -bash: ../run-tests: Permission denied
$ ls -Al ../run-tests -rw-r--r-- 1 jwalton staff 2777 Mar 21 04:32 ../run-tests
On Sun, Mar 21, 2021 at 6:18 PM Jeffrey Walton noloader@gmail.com wrote:
$ make check ... ../run-tests aes-test arcfour-test arctwo-test blowfish-test bcrypt-test cast128-test base16-test base64-test camellia-test chacha-test cnd-memcpy-test des-test des3-test md2-test md4-test md5-test md5-compat-test memeql-test memxor-test gosthash94-test ripemd160-test hkdf-test salsa20-test sha1-test sha224-test sha256-test sha384-test sha512-test sha512-224-test sha512-256-test sha3-permute-test sha3-224-test sha3-256-test sha3-384-test sha3-512-test shake256-test streebog-test serpent-test twofish-test version-test knuth-lfib-test cbc-test cfb-test ctr-test gcm-test eax-test ccm-test cmac-test siv-test poly1305-test chacha-poly1305-test hmac-test umac-test meta-hash-test meta-cipher-test meta-aead-test meta-armor-test meta-mac-test buffer-test yarrow-test xts-test pbkdf2-test x86-ibt-test sexp-test sexp-format-test rsa2sexp-test sexp2rsa-test bignum-test random-prime-test pkcs1-test pkcs1-sec-decrypt-test pss-test rsa-sign-tr-test pss-mgf1-test rsa-pss-sign-tr-test rsa-test rsa-encrypt-test rsa-keygen-test rsa-sec-decrypt-test rsa-compute-root-test dsa-test dsa-keygen-test curve25519-dh-test curve448-dh-test ecc-mod-test ecc-modinv-test ecc-redc-test ecc-sqrt-test ecc-dup-test ecc-add-test ecc-mul-g-test ecc-mul-a-test ecdsa-sign-test ecdsa-verify-test ecdsa-keygen-test ecdh-test eddsa-compress-test eddsa-sign-test eddsa-verify-test ed25519-test ed448-test gostdsa-sign-test gostdsa-verify-test gostdsa-keygen-test gostdsa-vko-test cxx-test sexp-conv-test pkcs1-conv-test nettle-pbkdf2-test symbols-test dlopen-test /bin/sh: ../run-tests: Permission denied make[1]: *** [check] Error 126 make: *** [check] Error 2
$ cd testsuite/
$ ../run-tests aes-test -bash: ../run-tests: Permission denied
$ ls -Al ../run-tests -rw-r--r-- 1 jwalton staff 2777 Mar 21 04:32 ../run-tests
This fixed the run-tests problem.
find . -name 'run-tests' -exec chmod +x {} ; if [[ -n "$(command -v xattr 2>/dev/null)" ]]; then find . -name 'run-tests' -exec xattr -r -d com.apple.quarantine {} ; fi
Jeff
nettle-bugs@lists.lysator.liu.se