summary refs log tree commit diff
path: root/bin/cash/tests/builtins/hash4.0
blob: bd07b83e987fd1a49627975ee942f94b2ba9758a (plain) (blame)
1
2
3
4
5
6
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/hash4.0 231535 2012-02-11 21:06:45Z jilles $

exec 3>&1
m=`hash nosuchtool 2>&1 >&3`
r=$?
[ "$r" != 0 ] && [ -n "$m" ]