diff options
Diffstat (limited to 'test-all')
-rwxr-xr-x | test-all | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,13 +6,17 @@ function all() { echo patch md5sum rawshake256sum rawshake512sum sha1sum sha224sum sha256sum sha3-224sum \ sha3-256sum sha3-384sum sha3-512sum sha384sum sha512-224sum sha512-256sum sha512sum \ - shake256sum shake512sum + shake256sum shake512sum true false } if test -n "${IN_PATH}"; then + exec 99>&2 + exec 2>/dev/null for c in $(all); do eval "export $(echo $c | tr '[a-z-]' '[A-Z_]')='$(realpath "$(which $c)")'" done + exec 2>&99 + exec 99>&- fi if test $# = 0; then |