Updating test to support Windows file descriptor count (-1)

This commit is contained in:
Chris Earle 2014-10-15 14:02:32 -05:00
parent 29c5aaa1d3
commit 04926954e2
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@
v: true v: true
- match: - match:
# Windows reports -1 for the file descriptor counts.
$body: | $body: |
/^ file_desc\.current \s+ file_desc\.percent \s+ file_desc\.max \s+ \n /^ file_desc\.current \s+ file_desc\.percent \s+ file_desc\.max \s+ \n
(\s+ \d+ \s+ \d+ \s+ \d+ \s+ \n)+ $/ (\s+ (-1|\d+) \s+ \d+ \s+ (-1|\d+) \s+ \n)+ $/