Public bug reported: This test case leaks a file descriptor:
spawn bash expect { "\$" { send "ls -l /proc/self/fd; exit 0\n" } } interact It has been fixed in Fedora (*) and Debian (5.45-7), but not Ubuntu for some reason. Thanks. * https://bugzilla.redhat.com/show_bug.cgi?id=1001220 ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: expect 5.45-5ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-83.127-generic 3.13.11-ckt35 Uname: Linux 3.13.0-83-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 CurrentDesktop: XFCE Date: Sat Apr 2 23:00:38 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2014-06-03 (669 days ago) InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2) SourcePackage: expect UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: expect (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1565260 Title: Expect leaking a file descriptor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/expect/+bug/1565260/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs