Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNegativeUid (0.13 sec)

  1. src/os/user/cgo_unix_test.go

    //go:build (darwin || dragonfly || freebsd || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo
    
    package user
    
    import (
    	"testing"
    )
    
    // Issue 22739
    func TestNegativeUid(t *testing.T) {
    	sp := structPasswdForNegativeTest()
    	u := buildUser(&sp)
    	if g, w := u.Uid, "4294967294"; g != w {
    		t.Errorf("Uid = %q; want %q", g, w)
    	}
    	if g, w := u.Gid, "4294967293"; g != w {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 595 bytes
    - Viewed (0)
Back to top