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 e28bd6c56debaec99da248793b85b5c1ee1eec38..3032b348cc75aae430119f3be8df4ee379398070 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 1da53ad52bc46ebfa6a97fa6cee453e9462e37a5..9e8b9d9d02c80784e1ddb941f6b0cb00d4cbdad6 100644 (file)
@@ -53,6 +53,7 @@ proc verify-lines { testcase file } {
            }
        }
     }
+    close $fd
     return $failed
 }