Add strdup to test/1.c
Fix format issue.
Not output error when inferior exit.