Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPaxXattrs (0.27 sec)

  1. src/archive/tar/writer_test.go

    	}
    	if hdr.Gname != chineseGroupname {
    		t.Fatal("Couldn't recover unicode group")
    	}
    	if hdr.Uname != chineseUsername {
    		t.Fatal("Couldn't recover unicode user")
    	}
    }
    
    func TestPaxXattrs(t *testing.T) {
    	xattrs := map[string]string{
    		"user.key": "value",
    	}
    
    	// Create an archive with an xattr
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top