re PR testsuite/25728 (File descriptor leak in lib/gcov.exp)
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 12 Jan 2006 01:29:07 +0000 (01:29 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 12 Jan 2006 01:29:07 +0000 (17:29 -0800)
2006-01-11  H.J. Lu  <hongjiu.lu@intel.com>

PR testsuite/25728
* lib/gcov.exp (verify-lines): Add "close $fd".

From-SVN: r109627

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcov.exp

index e28bd6c..3032b34 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/25728
+       * lib/gcov.exp (verify-lines): Add "close $fd".
+
 2006-01-12  Yao Qi  <qiyaoltc@cn.ibm.com>
            Ben Elliston  <bje@au.ibm.com>
 
index 1da53ad..9e8b9d9 100644 (file)
@@ -53,6 +53,7 @@ proc verify-lines { testcase file } {
            }
        }
     }
+    close $fd
     return $failed
 }