busybox/shell/hush_test/hush-misc/func3.tests
2009-04-17 23:44:18 +00:00

9 lines
144 B
Plaintext
Executable File

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