Current Path : /compat/linux/proc/self/root/usr/src/tools/regression/bin/sh/builtins/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/src/tools/regression/bin/sh/builtins/command9.0 |
# $FreeBSD: release/9.1.0/tools/regression/bin/sh/builtins/command9.0 204801 2010-03-06 17:09:22Z jilles $ failures=0 check() { if ! eval "[ $* ]"; then echo "Failed: $*" : $((failures += 1)) fi } check '"$({ command eval shift x 2>/dev/null; } >/dev/null; echo hi)" = hi' exit $((failures > 0))