1# $FreeBSD: src/tools/regression/bin/sh/execution/unknown1.0,v 1.1 2009/10/06 22:00:14 jilles Exp $ 2 3nosuchtool 2>/dev/null 4[ $? -ne 127 ] && exit 1 5/var/empty/nosuchtool 2>/dev/null 6[ $? -ne 127 ] && exit 1 7(nosuchtool) 2>/dev/null 8[ $? -ne 127 ] && exit 1 9(/var/empty/nosuchtool) 2>/dev/null 10[ $? -ne 127 ] && exit 1 11/ 2>/dev/null 12[ $? -ne 126 ] && exit 1 13PATH=/usr bin 2>/dev/null 14[ $? -ne 126 ] && exit 1 15 16dummy=$(nosuchtool 2>/dev/null) 17[ $? -ne 127 ] && exit 1 18dummy=$(/var/empty/nosuchtool 2>/dev/null) 19[ $? -ne 127 ] && exit 1 20dummy=$( (nosuchtool) 2>/dev/null) 21[ $? -ne 127 ] && exit 1 22dummy=$( (/var/empty/nosuchtool) 2>/dev/null) 23[ $? -ne 127 ] && exit 1 24dummy=$(/ 2>/dev/null) 25[ $? -ne 126 ] && exit 1 26dummy=$(PATH=/usr bin 2>/dev/null) 27[ $? -ne 126 ] && exit 1 28 29exit 0 30