Update sharpmemtest.cpp