1 # $FreeBSD: src/tools/regression/bin/sh/builtins/cd8.0,v 1.1 2012/01/13 23:32:27 jilles Exp $
3 # The exact wording of the error message is not standardized, but giving
4 # a description of the errno is useful.
12 errmsg=`cd "$1" 2>&1 >&3 3>&-`
15 *[Nn]ot\ a\ directory*)
18 printf "Wrong error message for %s: %s\n" "$1" "$errmsg"