summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Introduce PSUTIL_TESTING env varpsutil-testing-envvarGiampaolo Rodola2017-05-1711-40/+97
| | | | | | | | ...so that we can make stricter assertions in C and py code during tests only. * define a C function in _common.c which returns whether the var is set * set PSUTIL_TESTING from the Makefile
* skip signal.CTRL_ test on py 2.6Giampaolo Rodola2017-05-171-1/+1
|
* add Popen test for making sure NSP is raised on kill() and terminate()Giampaolo Rodola2017-05-171-9/+24
|
* move psutil.Popen tests in their own classGiampaolo Rodola2017-05-171-29/+41
|
* reap_children(): enforce checks to make sure the process is goneGiampaolo Rodola2017-05-171-3/+4
|
* Merge branch 'master' of https://github.com/giampaolo/psutilGiampaolo Rodola2017-05-173-42/+82
|\
| * test utils refactoringGiampaolo Rodola2017-05-171-5/+16
| |
| * test utils refactoringGiampaolo Rodola2017-05-172-40/+39
| |
| * revert appveyor.ymlGiampaolo Rodola2017-05-171-10/+10
| |
| * pass cwd and env to get_test_subprocess; reason: try to figure this out ↵Giampaolo Rodola2017-05-172-1/+3
| | | | | | | | https://travis-ci.org/giampaolo/psutil/jobs/233019876
| * appveyor: try smarter filteringGiampaolo Rodola2017-05-171-10/+9
| |
| * fix appveyorGiampaolo Rodola2017-05-171-1/+1
| |
| * smarter appveyor commit files filteringGiampaolo Rodola2017-05-172-1/+1
| |
| * Ignore arcane safe_rmpath error on APPVEYOR.Giampaolo Rodola2017-05-172-1/+30
| | | | | | | | | | | | | | | | See: https://ci.appveyor.com/project/giampaolo/psutil/build/job/jiq2cgd6stsbtn60 This is weird, and I'm afraid it means wait_procs() on Win may be broken (because of STILL_ACTIVE?). Add signalers in reap_children() that may help figure out whether this is the case.
* | Merge branch 'master' of https://github.com/giampaolo/psutilGiampaolo Rodola2017-05-175-23/+41
|\ \ | |/
| * Try to fix arcan appveyor err:Giampaolo Rodola2017-05-171-1/+1
| | | | | | | | - https://ci.appveyor.com/project/giampaolo/psutil/build/1240/job/91n29tt3es7os2ut
| * fix supports_ipv6 testGiampaolo Rodola2017-05-161-3/+7
| |
| * fix supports_ipv6 testGiampaolo Rodola2017-05-161-0/+6
| |
| * #1076: fix UPDv4 addressGiampaolo Rodola2017-05-161-1/+1
| |
| * define a new HAS_CONNECTIONS_UNIX constantGiampaolo Rodola2017-05-163-4/+9
| |
| * Some fixes to IPv6 testing. (#1076)Gleb Smirnoff2017-05-161-17/+20
| | | | | | | | | | | | * Make test_multi_sockets_filtering not fail if kernel doesn't support IPv6. * Fix test_udp_v6 to actually test IPv6.
* | fix win C warningsGiampaolo Rodola2017-05-163-11/+13
|/
* win: refactor net_if_addrs C codeGiampaolo Rodola2017-05-161-15/+17
|
* refactor C win codeGiampaolo Rodola2017-05-161-7/+5
|
* #1075 / win / net_if_addrs(): inet_ntop() return value isn't checkedGiampaolo Rodola2017-05-163-13/+24
|
* win: fix C compiler warningGiampaolo Rodola2017-05-161-1/+1
|
* win: fix C compiler warningGiampaolo Rodola2017-05-161-1/+1
|
* win: fix C compiler warningGiampaolo Rodola2017-05-161-4/+9
|
* win: fix C compiler warningGiampaolo Rodola2017-05-161-1/+1
|
* win: fix C compiler warningGiampaolo Rodola2017-05-161-1/+1
|
* speed up multi socks tests by waiting for multiple test files in parallelGiampaolo Rodola2017-05-161-9/+17
|
* prevent AccessDenied on OSXGiampaolo Rodola2017-05-161-2/+3
|
* add extra assertGiampaolo Rodola2017-05-162-1/+2
|
* fix #1074: [FreeBSD] sensors_battery() raises OSError in case of no battery.Giampaolo Rodola2017-05-164-2/+25
|
* declare PSUTIL_CONN_NONE as a static shared constantGiampaolo Rodola2017-05-168-19/+3
|
* Freebsd socks refactoring (#1073)Giampaolo Rodola2017-05-166-345/+380
| | | | | | | | * freebsd: split socks.c into 2 separate files * remove unused h files * freebsd: split socks.c into 2 separate files
* BSD: mv arch C files (#1072)Giampaolo Rodola2017-05-1612-14/+12
| | | | | | | | | | * move freebsd C arch files * rename C file * move openbsd C arch files * move netbsd C arch files
* ignore meGiampaolo Rodola2017-05-161-1/+1
|
* styleGiampaolo Rodola2017-05-161-2/+9
|
* give CREDITS to @glebiusGiampaolo Rodola2017-05-162-0/+4
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2017-05-161-13/+6
|\
| * Fix socket to PID translation on FreeBSD. (#1070)Gleb Smirnoff2017-05-161-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This file was derived from FreeBSD usr.bin/sockstat/sockstat.c. The logic of socket to PID translation was copied incorrectly. The hash, that sockstat(1) utility has, is completely internal feature, it isn't part of FreeBSD API, it is just to speed things up. So, to use this hash one actually needs to create it: declare array of buckets, populate it with sockets. In the freebsd_socks.c this wasn't done. This fix doesn't create the hash, instead it removes remnants of hashing that was there in sockstat.c. It makes code more simple, but of course slower than original sockstat(1) in case if machine is running zillions of sockets. I decided to go this way simply because I am low on time to invest into psutil, and also because better first provide correct and simple implementation and then improve it, rather than jump for complexity.
* | write more tests for connections() filteringGiampaolo Rodola2017-05-161-1/+33
|/
* add another test case which exposes #1013Giampaolo Rodola2017-05-161-0/+30
|
* small refactoringGiampaolo Rodola2017-05-161-3/+3
|
* add test case which exposes #1013Giampaolo Rodola2017-05-151-0/+7
|
* add connections testsGiampaolo Rodola2017-05-152-10/+39
|
* fix #1069 / freebsd: cpu_num() may return 255; now returns -1Giampaolo Rodola2017-05-144-4/+10
|
* fix #1042: psutil won't compile on FreeBSD 12; applied patch by @glebiusGiampaolo Rodola2017-05-143-0/+36
|
* fix appveyor buildGiampaolo Rodola2017-05-131-1/+1
|