1*3e3895bfSKrzysztof Piecuch# $FreeBSD: head/bin/sh/tests/execution/func3.0 216398 2010-12-12 21:18:16Z jilles $ 23df4d8b0SPeter Avalos 33df4d8b0SPeter Avalos# This may fail when parsing or when defining the function, or the definition 43df4d8b0SPeter Avalos# may silently do nothing. In no event may the function be executed. 53df4d8b0SPeter Avalos 63df4d8b0SPeter Avalos${SH} -c 'unset() { echo overriding function executed, bad; }; v=1; unset v; exit "${v-0}"' 2>/dev/null 73df4d8b0SPeter Avalos: 8