test: Fix fd handling in test-profile
1 file changed