aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-20 13:52:53 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-20 13:52:53 -0800
commite9d216bc8449227d228549d00246e360dc1d7271 (patch)
tree0fced05b17cb05411472c4460aec613ee885df24 /tests
parent87510ac77d4f20998bd7de977afdf66b26516255 (diff)
Fixed recursive brace expansion
Diffstat (limited to 'tests')
-rw-r--r--tests/test1.in5
-rw-r--r--tests/test1.out3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in
index 4dd01db1..8c214900 100644
--- a/tests/test1.in
+++ b/tests/test1.in
@@ -10,6 +10,11 @@ for i in 1 2 #Comment on same line as command
end;
end
+# Bracket expansion
+echo x-{1}
+echo x-{1,2}
+echo foo-{1,2{3,4}}
+
# Simple alias tests
function foo
diff --git a/tests/test1.out b/tests/test1.out
index 5ca9888c..3d3fb0d9 100644
--- a/tests/test1.out
+++ b/tests/test1.out
@@ -2,6 +2,9 @@
1b
2a
2b
+x-1
+x-1 x-2
+foo-1 foo-23 foo-24
Test 2 pass
Test pass
Test 3 pass