Files
pvxs/test/secidxgroup.db
Sang Woo Kim 4f45ffab44 test non-atomic group get must read channel-less Const fields
Add testConstNonAtomicGet(): a non-atomic get of the tst:const group
asserts s.i/s.d/s.s == 14/1.5/"hello". Fails before the fix (all defaults),
passes after.
2026-05-24 14:13:25 -07:00

14 lines
518 B
Plaintext

# A group whose first (put-order sorted) field is a channel-less
# Structure, followed by a channel-backed puttable field. A non-atomic group
# put of value.x must authorise against value.x's own access-security client,
# not drift onto the channel-less field's (empty, deny-all) client.
record(longout, "$(P)secidx") {
field(VAL, "0")
info(Q:group, {
"$(P)SECIDX": {
"value": { +type:"structure" },
"value.x": { +type:"plain", +channel:"VAL", +putorder:0 }
}
})
}