1
0
Fork 1
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:
Alex Brainman 2015-06-29 16:42:28 +10:00 committed by Vincent Batts
parent 27e18409b9
commit 3b34dbd368
3 changed files with 40 additions and 39 deletions

View file

@ -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.
{