busybox/shell/hush_test/hush-misc/func3.tests

9 lines
144 B
Plaintext
Raw Permalink Normal View History

f() { false; return; echo BAD; };
{ f; echo One:$?; }; echo Zero:$?
f() { false; return; };
f; echo One:$?
f() { return 5; };
f; echo Five:$?