test: fix some pf tests (#6492)
Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
This commit is contained in:
parent
067b59f5ee
commit
cae792c7c5
2 changed files with 5 additions and 4 deletions
|
|
@ -133,11 +133,11 @@ RUN
|
|||
|
||||
NAME=print anonymous nested struct
|
||||
FILE=malloc://1024
|
||||
BROKEN=1
|
||||
# Inline anonymous struct definitions like `?(format inner_names)field` are a
|
||||
# legacy quirk: the `?` typename is itself a parenthesised format+names string.
|
||||
# The rewritten parser only accepts typedb-registered struct names there.
|
||||
# Restoring this would require a recursive parser hook in the typename slot.
|
||||
# The new parser does not recurse into them (it only expands
|
||||
# typedb-registered struct names), so the nested `(pf ...)` is rendered as a
|
||||
# plain field instead of being expanded. This test locks in that behavior.
|
||||
CMDS=<<EOF
|
||||
e asm.arch=x86
|
||||
e asm.bits=32
|
||||
|
|
|
|||
|
|
@ -51,8 +51,9 @@ RUN
|
|||
|
||||
NAME=pf array not in meta
|
||||
FILE==
|
||||
BROKEN=1
|
||||
CMDS=<<EOF
|
||||
e asm.arch=x86
|
||||
e asm.bits=64
|
||||
pfn foo "[3]x4 foo"
|
||||
.pf foo.foo 1
|
||||
.pf .foo
|
||||
|
|
|
|||
Loading…
Reference in a new issue