mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This commit replaces `os.Setenv` with `t.Setenv` in tests. The environment variable is automatically restored to its original value when the test and all its subtests complete. Reference: https://pkg.go.dev/testing#T.Setenv Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
binary.go | 3 years ago | |
common.go | 2 years ago | |
common_darwin.go | 3 years ago | |
common_freebsd.go | 3 years ago | |
common_linux.go | 3 years ago | |
common_openbsd.go | 3 years ago | |
common_test.go | 3 years ago | |
common_unix.go | 3 years ago | |
common_windows.go | 3 years ago | |
endian.go | 3 years ago | |
sleep.go | 3 years ago | |
sleep_test.go | 3 years ago | |
warnings.go | 3 years ago |