From 709f1057b744bfa307db319d1112fe6d83743b62 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 23 Nov 2020 04:05:56 +0000 Subject: 47599 (tweaked): New test for '{foo,bar}' in command position It's currently treated as a list but should perhaps be a brace expansion. --- Test/A01grammar.ztst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Test') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index ac39a4eea..4e39a8f3c 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -953,3 +953,11 @@ F:Note that the behaviour of 'exit' inside try-list inside a function is unspeci 0:Comments should be handled in command subst in interactively sourced files >foo >bar + + function 'ls,/' () {echo success} + {ls,/} +0:workers/47599: current-shell blocks masquerading as brace expansion +>success +F:This test was written to ensure the behaviour doesn't change silently. +F:If this test fails during development, it *might* be appropriate to change +F:its expectations. -- cgit 1.4.1