testsuite: add trap to open() including tests
2 files changed