diff options
Diffstat (limited to 'shell/ash_test')
-rw-r--r-- | shell/ash_test/ash-misc/func5.right | 3 | ||||
-rwxr-xr-x | shell/ash_test/ash-misc/func5.tests | 5 | ||||
-rw-r--r-- | shell/ash_test/ash-misc/func_compound1.right | 3 | ||||
-rwxr-xr-x | shell/ash_test/ash-misc/func_compound1.tests | 4 |
4 files changed, 7 insertions, 8 deletions
diff --git a/shell/ash_test/ash-misc/func5.right b/shell/ash_test/ash-misc/func5.right index 2c9d316..01e79c3 100644 --- a/shell/ash_test/ash-misc/func5.right +++ b/shell/ash_test/ash-misc/func5.right @@ -1,6 +1,3 @@ 1 2 3 -1 -2 -3 diff --git a/shell/ash_test/ash-misc/func5.tests b/shell/ash_test/ash-misc/func5.tests index e967208..5c33560 100755 --- a/shell/ash_test/ash-misc/func5.tests +++ b/shell/ash_test/ash-misc/func5.tests @@ -6,8 +6,3 @@ f 2 f() ( echo $1 ) f 3 - -f() for i in 1 2 3; do - echo $i -done -f diff --git a/shell/ash_test/ash-misc/func_compound1.right b/shell/ash_test/ash-misc/func_compound1.right new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/shell/ash_test/ash-misc/func_compound1.right @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/shell/ash_test/ash-misc/func_compound1.tests b/shell/ash_test/ash-misc/func_compound1.tests new file mode 100755 index 0000000..20c8bf1 --- /dev/null +++ b/shell/ash_test/ash-misc/func_compound1.tests @@ -0,0 +1,4 @@ +f() for i in 1 2 3; do + echo $i +done +f |