rename sysctlFSFileMax to rlimitMaxNumFiles to reflect what it actually does
This commit is contained in:
parent
f7c42b78ac
commit
bdf6e47004
3 changed files with 5 additions and 6 deletions
|
|
@ -20,8 +20,8 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
func TestSysctlFSFileMax(t *testing.T) {
|
||||
i := sysctlFSFileMax()
|
||||
func TestRlimitMaxNumFiles(t *testing.T) {
|
||||
i := rlimitMaxNumFiles()
|
||||
if i < 1 {
|
||||
t.Errorf("returned %v but expected > 0", i)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue