ztest's use of file descriptors is unstable
ztest uses fixed file descriptors to communicate with child processes. This can cause problems if ztest is executed with those file descriptors already open (as they may be when executed from certain shell scripts in testing frameworks). This was fixed in zfsonlinux, the patch can be ported to illumos-gate.
Updated by Christopher Siden over 7 years ago
- Status changed from New to Resolved
- % Done changed from 90 to 100
commit 741652b0d7a641dcc9c966750c26e41bcc641863 Author: Etienne Dechamps <firstname.lastname@example.org> Date: Mon Oct 8 15:49:41 2012 -0700 3258 ztest's use of file descriptors is unstable Reviewed by: Christopher Siden <email@example.com> Reviewed by: Matt Ahrens <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com> usr/src/cmd/ztest/ztest.c