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