diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-14 16:19:58 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-14 16:19:58 +0200 |
| commit | 6cc338010515ec4caef802a70f9f374cf98b8294 (patch) | |
| tree | 658af62d1b336265028e1edde837eed0ec328c4f /shell/hush_test | |
| parent | cad5a79bd4e8ceef4a68f1551fd2b25122bcb1c8 (diff) | |
hush: undo incorrect change which allows a'b'=c to be assignment
While at it, remove now-unused WORD_IS_KEYWORD
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
| -rw-r--r-- | shell/hush_test/hush-misc/assignment2.right | 2 | ||||
| -rwxr-xr-x | shell/hush_test/hush-misc/assignment2.tests | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/assignment2.right b/shell/hush_test/hush-misc/assignment2.right index 9d1860be7..5e54b408b 100644 --- a/shell/hush_test/hush-misc/assignment2.right +++ b/shell/hush_test/hush-misc/assignment2.right @@ -1,2 +1,4 @@ hush: can't execute 'a=b': No such file or directory 127 +hush: can't execute 'ab=c': No such file or directory +127 diff --git a/shell/hush_test/hush-misc/assignment2.tests b/shell/hush_test/hush-misc/assignment2.tests index f6938434c..a93a48d09 100755 --- a/shell/hush_test/hush-misc/assignment2.tests +++ b/shell/hush_test/hush-misc/assignment2.tests @@ -1,3 +1,5 @@ # This must not be interpreted as an assignment a''=b true echo $? +a'b'=c true +echo $? |
