hush: add func6.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
35ec818fa2
commit
a2633aa819
2
shell/hush_test/hush-misc/func6.right
Normal file
2
shell/hush_test/hush-misc/func6.right
Normal file
@ -0,0 +1,2 @@
|
||||
Two:2
|
||||
Two:2
|
11
shell/hush_test/hush-misc/func6.tests
Executable file
11
shell/hush_test/hush-misc/func6.tests
Executable file
@ -0,0 +1,11 @@
|
||||
f1() {
|
||||
while return 2; do :; done
|
||||
}
|
||||
f1
|
||||
echo Two:$?
|
||||
|
||||
f2() {
|
||||
while :; do return 2; done
|
||||
}
|
||||
f2
|
||||
echo Two:$?
|
Loading…
Reference in New Issue
Block a user