QA output created by 160
***create session
***create user event
*** query & up/downgrade right
right is DM_RIGHT_NULL
right is DM_RIGHT_SHARED
right is DM_RIGHT_EXCL
right is DM_RIGHT_SHARED
*** respond to event
*** destroy session
ret=0
