hush_test: test for subshell function syntax
No binary (build failed)
—
(log yok)
| @@ -0,0 +1,3 @@ | |
| + | 1 |
| + | 2 |
| + | 3 |
| @@ -0,0 +1,9 @@ | |
| + | f() { echo $1; } |
| + | f 1 |
| + | |
| + | # hush fails on this syntax, but i've never seen anyone use it ... |
| + | #f() ( echo $1; ) |
| + | f 2 |
| + | |
| + | #f() ( echo $1 ) |
| + | f 3 |