#9 pvput does not recognize illegal byte/ubyte values

None
open
None
5
2013-09-19
2013-08-19
Sinisa Veseli
No

Tag: 3.0-pre1
OS: linux, 64-bit

pvput displays no error message for illegal (byte/ubyte) values and exists with 0 exit status under error conditions.

Command should detect illegal values, display an appropriate error message and exit with non-zero code.

Steps to reproduce:

1) run test IOC using st.cmd from pvaSrv/testApp/iocBoot/testDbPv

2) invoke pvput with illegal input, as in the examples below:

bash-4.1$ pvput byte01 257
Old : byte01 -1
New : byte01 1
bash-4.1$ echo $?
0

bash-4.1$ pvput ubyte01 -121212zys
Old : ubyte01 164
New : ubyte01 132
bash-4.1$ echo $?
0

Discussion

    • Group: -->
     
  • Implementation follows caput behavior.