commit | 928e2a7ef437138a7b05e02be2e0f4b10123766c | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Sep 29 00:30:31 2016 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Sep 29 00:30:31 2016 +0200 |
tree | bb4300e101473cf94389560ee5001cabc546c99e | |
parent | 8e2bc47d62d48687f681855d4b086c758ae745c4 [diff] [blame] |
ash: [EVAL] Make eval with empty arguments return 0 This is a backport of upstream commit: [EVAL] Make eval with empty arguments return 0 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/ash_test/ash-misc/eval1.tests b/shell/ash_test/ash-misc/eval1.tests new file mode 100755 index 0000000..b78c6cc --- /dev/null +++ b/shell/ash_test/ash-misc/eval1.tests
@@ -0,0 +1,4 @@ +# empty eval nevertheless sets $? = 0 +false +eval +echo Ok:$?