Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUSTARLongName (0.07 sec)

  1. src/archive/tar/writer_test.go

    		bytes.Index(buf.Bytes(), []byte("foo=foo")),
    		bytes.Index(buf.Bytes(), []byte("qux=qux")),
    	}
    	if !slices.IsSorted(indices) {
    		t.Fatal("PAX headers are not sorted")
    	}
    }
    
    func TestUSTARLongName(t *testing.T) {
    	// Create an archive with a path that failed to split with USTAR extension in previous versions.
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
Back to top