]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Add testcase that $? is preserved into a simple command substitution.
authorjilles <jilles@FreeBSD.org>
Sun, 13 Jan 2013 22:35:51 +0000 (22:35 +0000)
committerjilles <jilles@FreeBSD.org>
Sun, 13 Jan 2013 22:35:51 +0000 (22:35 +0000)
commitadc48be9c2cb5d0a6d697fad9295ad97cd636a5a
tree45eee5795fe543c3ab7add1c609d292d4a61002b
parent89fb0f254358fa3cbe1f95560d01fbec42006840
sh: Add testcase that $? is preserved into a simple command substitution.

The test builtins/trap6.0 already uses this but having it separate eases
diagnosis if this would break.
tools/regression/bin/sh/expansion/cmdsubst16.0 [new file with mode: 0644]