Commit Graph

11 Commits (0062ae2bfa4198a3c053d572e32d72a831eab23c)

Author SHA1 Message Date
Shirou WAKAYAMA fc513b6f9a proces[darwin]: change exec.Command to interface to enable mocking.
Add common.invoker interface to mock exec.Command. common.FakeInvoker returns
expected file if exists instead of invoke exec.Command.
Currenly, mocking is enabled only process.Pids(). I will expand to other funcs incrementally.
10 years ago
jay park 2984accfa1 return error when CPUTimes fails on callPs, modify comments on ReadLines 10 years ago
Shirou WAKAYAMA b5ffc220a6 common: Rename StringContains to StringsContains and add StringsHas. 10 years ago
WAKAYAMA Shirou 69ad6a7822 fix new line problem on Windows 10 years ago
Shirou WAKAYAMA 389b362cce if not NULL terminated, size is not set correctly. 10 years ago
Shirou WAKAYAMA 406cbe9b87 implements pernic of NetIOCounters. 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
Shirou WAKAYAMA 3f7769ccfa implement disk_partition of Darwin using golang.org/x/sys/unix. 10 years ago
Shirou WAKAYAMA a1c1d7b25f fix on Linux. 10 years ago
WAKAYAMA shirou d11680c773 fix bugs on FreeBSD. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago