diff options
Diffstat (limited to 'tests/test9.in')
-rw-r--r-- | tests/test9.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test9.in b/tests/test9.in index e449a21d..32a537f7 100644 --- a/tests/test9.in +++ b/tests/test9.in @@ -70,4 +70,13 @@ end # Test implicit cd. This should do nothing. ./ +# Test special for loop expansion +# Here we the name of the variable is derived from another variable +echo "Testing for loop" +set var1 var2 +for $var1 in 1 2 3 + echo -n $var2 +end +echo + false |