Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPaxNonAscii (0.11 sec)

  1. src/archive/tar/writer_test.go

    	reader := NewReader(&buf)
    	hdr, err = reader.Next()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if hdr.Linkname != longLinkname {
    		t.Fatal("Couldn't recover long link name")
    	}
    }
    
    func TestPaxNonAscii(t *testing.T) {
    	// Create an archive with non ascii. These should trigger a pax header
    	// because pax headers have a defined utf-8 encoding.
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    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