xref: /freebsd/bin/sh/tests/builtins/hash4.0 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1
2exec 3>&1
3m=`hash nosuchtool 2>&1 >&3`
4r=$?
5[ "$r" != 0 ] && [ -n "$m" ]
6