add a test for ensuring the behavior of read-only /dev/shm Upstream-commit: 11702c66cfce350ff710d5170921a83b9748d4bf Component: engine