<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/psutil/tests/test_linux.py, branch 1102-proc-bitness</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>fix #1179 / linux / cmdline: handle processes erroneously overwriting /proc/pid/cmdline by using spaces instead of null bytes as args separator</title>
<updated>2017-11-28T10:10:42+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-11-28T10:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=7c6b6c2a6d89a1a270d6357be3b77fd8e0e2cbe7'/>
<id>7c6b6c2a6d89a1a270d6357be3b77fd8e0e2cbe7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>skip cpu_freq tests if not available (#1170)</title>
<updated>2017-11-11T01:34:22+00:00</updated>
<author>
<name>wiggin15</name>
<email>wiggin15@yahoo.com</email>
</author>
<published>2017-11-11T01:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=02e25d765040d3f36ecc66249700a8777b175c7a'/>
<id>02e25d765040d3f36ecc66249700a8777b175c7a</id>
<content type='text'>
cpu_freq is not always available on Linux</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cpu_freq is not always available on Linux</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_emulate_energy_full_not_avail (#1163)</title>
<updated>2017-10-29T22:51:44+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-10-29T22:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=fe53d1a582a8174204ae08b5e301a3dcfdf09901'/>
<id>fe53d1a582a8174204ae08b5e301a3dcfdf09901</id>
<content type='text'>
The value may come from two different files, must mock both.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value may come from two different files, must mock both.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix network tests for newer ifconfig versions. (#1160)</title>
<updated>2017-10-28T17:37:07+00:00</updated>
<author>
<name>Adrian Page</name>
<email>adrian@pagenet.plus.com</email>
</author>
<published>2017-10-28T17:37:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=3cec63006e0f3f3498862310268d2ca6e21af39d'/>
<id>3cec63006e0f3f3498862310268d2ca6e21af39d</id>
<content type='text'>
Arch Linux and Ubuntu 17.10 use a newer ifconfig version than other distributions and that changes the statistics output text formatting, causing the following tests to fail:

psutil.tests.test_linux.TestSystemNetwork.test_net_if_stats
psutil.tests.test_linux.TestSystemNetwork.test_net_io_counters

MTU becomes lower case, colons are replaced with spaces, and packets and bytes are on the same line.

Example ifconfig output:

enp2s0f0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500
        ether a8:20:66:04:4c:45  txqueuelen 1000  (Ethernet)
        RX packets 1396351  bytes 1928499072 (1.7 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 750492  bytes 185338978 (176.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Arch Linux and Ubuntu 17.10 use a newer ifconfig version than other distributions and that changes the statistics output text formatting, causing the following tests to fail:

psutil.tests.test_linux.TestSystemNetwork.test_net_if_stats
psutil.tests.test_linux.TestSystemNetwork.test_net_io_counters

MTU becomes lower case, colons are replaced with spaces, and packets and bytes are on the same line.

Example ifconfig output:

enp2s0f0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500
        ether a8:20:66:04:4c:45  txqueuelen 1000  (Ethernet)
        RX packets 1396351  bytes 1928499072 (1.7 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 750492  bytes 185338978 (176.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16</pre>
</div>
</content>
</entry>
<entry>
<title>fix TypeError on OSX</title>
<updated>2017-08-01T09:59:03+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-08-01T09:59:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=32edf35e95ff1c99ba2f4c94eb9913e65f33bd45'/>
<id>32edf35e95ff1c99ba2f4c94eb9913e65f33bd45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add test for parsing of /status file on Linux</title>
<updated>2017-07-31T19:46:57+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-07-31T19:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=c895a4aa1a08e7dac7213ab1c2458b0a28cea343'/>
<id>c895a4aa1a08e7dac7213ab1c2458b0a28cea343</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#1110: add test for parsing of /stat file on Linux</title>
<updated>2017-07-31T19:31:23+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-07-31T19:31:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=28e0aef2d2a40b61dad7081ddaa88917abba52e7'/>
<id>28e0aef2d2a40b61dad7081ddaa88917abba52e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>skip test on travis; update MANIFEST</title>
<updated>2017-06-07T11:54:09+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-06-07T11:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=612e5719299d3852e4fd02ecf177480fa6db4437'/>
<id>612e5719299d3852e4fd02ecf177480fa6db4437</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test and update doc</title>
<updated>2017-06-07T11:40:10+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-06-07T11:40:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=7eb1581e41d0453caa625802556d209dbbf8b415'/>
<id>7eb1581e41d0453caa625802556d209dbbf8b415</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix #1071: provide fallback for cpu_freq() in case main current freq file is not available on old RedHat versions</title>
<updated>2017-06-07T11:25:12+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2017-06-07T11:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/psutil.git/commit/?id=0a6953cfd59009b422b808b2c59e37077c0bdcb1'/>
<id>0a6953cfd59009b422b808b2c59e37077c0bdcb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
