Fix for PVA links to set UTAG/userTag when link is set with TIME=-2

Added test case for PVA link with 'time:true' and checked if cached timestamp and userTag/UTAG are propagated

Convert snap_tag to uint32_t to avoid sign extension. Modified test case
to cover this scenario.
This commit is contained in:
Joao Paulo Martins authored and Michael Davidsaver committed 2026-06-03 16:26:48 -07:00
1 parent bf90ac6bec
commit 26961de931
5 files changed
+78 -6

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ int testTimeCurrent(epicsTimeStamp *pDest)
void checkUTAG(Value& v, int32_t expect, const char *fld="timeStamp.userTag")
{
#ifdef DBR_UTAG
#if DBR_UTAG
auto utag = v[fld];
int32_t tag = -1;
if(!utag.isMarked() || (tag = utag.as<int32_t>())!=expect)