fix shm subtest in cancellation points test