[PATCH 2/2] selftests: coredump: Add stackdump test