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 <email@example.com> Date: Mon Oct 8 15:49:41 2012 -0700 3258 ztest's use of file descriptors is unstable Reviewed by: Christopher Siden <firstname.lastname@example.org> Reviewed by: Matt Ahrens <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org> usr/src/cmd/ztest/ztest.c