yyang42 / moulitest

This repository contains tests for several projects done at 42.
127 stars 37 forks source link

GNL: fixed fd leaks #88

Open qsharoly opened 3 years ago

qsharoly commented 3 years ago

Pipes' read ends were left not closed in some tests, causing descriptors to accumulate up to number 42. This caused test 05 (error handling) to fail when checking with "not opened" fd 42.

This pr may be considered as a fix for #78?