mirror of
https://github.com/vbatts/tar-split.git
synced 2025-07-04 23:38:29 +00:00
archive/tar: move round-trip reading into common os file
Fixes #11426 Change-Id: I77368b0e852149ed4533e139cc43887508ac7f78 Reviewed-on: https://go-review.googlesource.com/11662 Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
27e18409b9
commit
3b34dbd368
3 changed files with 40 additions and 39 deletions
|
@ -10,7 +10,6 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
"reflect"
|
||||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -136,9 +135,6 @@ type headerRoundTripTest struct {
|
|||
}
|
||||
|
||||
func TestHeaderRoundTrip(t *testing.T) {
|
||||
if runtime.GOOS == "windows" || runtime.GOOS == "plan9" || runtime.GOOS == "nacl" {
|
||||
t.Skipf("skipping on %s; issue 11426", runtime.GOOS)
|
||||
}
|
||||
golden := []headerRoundTripTest{
|
||||
// regular file.
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue