GithubHelp home page GithubHelp logo

cznic / fileutil Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 4.0 93 KB

github.com/cznic/fileutil has moved to modernc.org/fileutil

Home Page: https://godoc.org/modernc.org/fileutil

License: BSD 3-Clause "New" or "Revised" License

Go 99.63% Makefile 0.37%

fileutil's People

Contributors

8tt avatar cznic avatar daftaupe avatar garyburd avatar mischief avatar myitcv avatar nictuku avatar qbit avatar schleibinger avatar tgulacsi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fileutil's Issues

What about linux kernel 3.9

go test (from another packages which imports github.com/cznic/kv) panics:

panic: 2

goroutine 1 [running]:
github.com/cznic/fileutil.init·1()
/home/gthomas/projects/go/src/github.com/cznic/fileutil/fileutil_linux.go:36 +0x143
github.com/cznic/fileutil.init()
/home/gthomas/projects/go/src/github.com/cznic/fileutil/test_deps.go:13 +0x7f
github.com/cznic/kv.init()
/home/gthomas/projects/go/src/github.com/cznic/kv/v0.go:21 +0x52
github.com/tgulacsi/s3weed/s3impl/weedS3.init()
/home/gthomas/projects/go/src/github.com/tgulacsi/s3weed/s3impl/weedS3/weed.go:456 +0x69
github.com/tgulacsi/s3weed/s3impl.init()
/home/gthomas/projects/go/src/github.com/tgulacsi/s3weed/s3impl/impl_test.go:191 +0x93
main.init()
github.com/tgulacsi/s3weed/s3impl/_test/_testmain.go:54 +0x40

line 36 in fileutil_linux.go seems to check osrelease for the "old" kernel versioning (requires 2 dots), and panics if only one dot is there.

Is this intended?

Thanks, GThomas

Go get fails on go 1.2 windows/amd64

director@DIRECTOR-PC /C/coding/projects/go-osm-parse (master)
$ rm -rf src/github.com/cznic/fileutil/
director@DIRECTOR-PC /C/coding/projects/go-osm-parse (master)
$ go get -u github.com/cznic/fileutil
src\github.com\cznic\fileutil\fileutil_windows.go:17: PunchHole redeclared in this block
previous declaration at src\github.com\cznic\fileutil\fileutil_solaris.go:14
src\github.com\cznic\fileutil\fileutil_windows.go:23: Fadvise redeclared in this block
previous declaration at src\github.com\cznic\fileutil\fileutil_solaris.go:20
src\github.com\cznic\fileutil\fileutil_windows.go:28: IsEOF redeclared in this block - previous declaration at src\github.com\cznic\fileutil\fileutil_solaris.go:25

Running fresh go install with only git installed.

Travis kernel version number

cat /proc/sys/kernel/osrelease
2.6.32-042stab079.4

So some more thinking needed... Maybe split on non-numbers?

Race in fileutil.TempFIle

The following line should be protected by randmu:
193: rand = reseed()

standard library version seems to have fixed this at some point.

Build on Solaris (SmartOS)

Hi!

Please cp fileutil_plan9.go fileutil_solaris.go, to be able to build fileutil (kv) on SmartOS, too!

Thanks,
Tamás Gulácsi

Request addition of fileutil_solaris.go

This library is used by Camlistore. I'm trying to build Camlistore on Solaris (SmartOS, actually), but it failes on the fileutil library. After some analysis my conclusion is that a source file called fileutil_solaris.go should be added to this library, so it can be used on Solaris derived OS's. Unfortunately I have too little understanding of Go to do this myself.

Fails to build on arm/darwin due to duplicate symbols

Error when building with gomobile:

gomobile: go install -pkgdir=/Users/a/repos/tt-ios/go/pkg/gomobile/pkg_darwin_arm -tags="" ll/ttgo/ttgo failed: exit status 2 # ll/ttgo/ttgo/vendor/github.com/cznic/fileutil go/src/ll/ttgo/ttgo/vendor/github.com/cznic/fileutil/fileutil_darwin.go:14: PunchHole redeclared in this block previous declaration at go/src/ll/ttgo/ttgo/vendor/github.com/cznic/fileutil/fileutil_arm.go:14 go/src/ll/ttgo/ttgo/vendor/github.com/cznic/fileutil/fileutil_darwin.go:20: Fadvise redeclared in this block previous declaration at go/src/ll/ttgo/ttgo/vendor/github.com/cznic/fileutil/fileutil_arm.go:20 go/src/ll/ttgo/ttgo/vendor/github.com/cznic/fileutil/fileutil_darwin.go:25: IsEOF redeclared in this block previous declaration at go/src/ll/ttgo/ttgo/vendor/github.com/cznic/fileutil/fileutil_arm.go:25

tests fail on 32 bit architectures (with go 1.8)

I'm trying to create a proper fedora package of this go library, but I'm hitting test failures on 32 bit architectures (i386, armv7hl), although since the error messages are different, I'm not sure if it's even the same error on both architectures ...

on i386:

+ go test -compiler gc -ldflags '' github.com/cznic/fileutil
--- FAIL: TestPunch (0.05s)
	punch_test.go:33: 0. error punching at 1, size 1: SYS_FALLOCATE: invalid argument
	punch_test.go:33: 1. error punching at 31, size 31: SYS_FALLOCATE: invalid argument
	punch_test.go:33: 2. error punching at 1024, size 1024: SYS_FALLOCATE: invalid argument
FAIL
FAIL	github.com/cznic/fileutil	0.054s

on arm:

+ go test -compiler gc -ldflags '' github.com/cznic/fileutil
--- FAIL: TestPunch (0.35s)
	punch_test.go:51: 0. error reading file at 0 got 3, want 0.
	punch_test.go:51: 1. error reading file at 0 got 33, want 0.
	punch_test.go:51: 1. error reading file at 1 got 33, want 0.
	punch_test.go:51: 1. error reading file at 2 got 35, want 0.
	punch_test.go:51: 1. error reading file at 3 got 35, want 0.
	punch_test.go:51: 1. error reading file at 4 got 37, want 0.
	punch_test.go:51: 1. error reading file at 5 got 37, want 0.
	punch_test.go:51: 1. error reading file at 6 got 39, want 0.
	punch_test.go:51: 1. error reading file at 7 got 39, want 0.
	punch_test.go:51: 1. error reading file at 8 got 41, want 0.
	punch_test.go:51: 1. error reading file at 9 got 41, want 0.
	punch_test.go:51: 1. error reading file at 10 got 43, want 0.
	punch_test.go:51: 1. error reading file at 11 got 43, want 0.
	punch_test.go:51: 1. error reading file at 12 got 45, want 0.
	punch_test.go:51: 1. error reading file at 13 got 45, want 0.
	punch_test.go:51: 1. error reading file at 14 got 47, want 0.
	punch_test.go:51: 1. error reading file at 15 got 47, want 0.
	punch_test.go:51: 1. error reading file at 16 got 49, want 0.
	punch_test.go:51: 1. error reading file at 17 got 49, want 0.
	punch_test.go:51: 1. error reading file at 18 got 51, want 0.
	punch_test.go:51: 1. error reading file at 19 got 51, want 0.
	punch_test.go:51: 1. error reading file at 20 got 53, want 0.
	punch_test.go:51: 1. error reading file at 21 got 53, want 0.
	punch_test.go:51: 1. error reading file at 22 got 55, want 0.
	punch_test.go:51: 1. error reading file at 23 got 55, want 0.
	punch_test.go:51: 1. error reading file at 24 got 57, want 0.
	punch_test.go:51: 1. error reading file at 25 got 57, want 0.
	punch_test.go:51: 1. error reading file at 26 got 59, want 0.
	punch_test.go:51: 1. error reading file at 27 got 59, want 0.
	punch_test.go:51: 1. error reading file at 28 got 61, want 0.
	punch_test.go:51: 1. error reading file at 29 got 61, want 0.
	punch_test.go:51: 1. error reading file at 30 got 63, want 0.
	punch_test.go:51: 2. error reading file at 0 got 1, want 0.
	punch_test.go:51: 2. error reading file at 1 got 3, want 0.
	punch_test.go:51: 2. error reading file at 2 got 3, want 0.
	punch_test.go:51: 2. error reading file at 3 got 5, want 0.
	punch_test.go:51: 2. error reading file at 4 got 5, want 0.
	punch_test.go:51: 2. error reading file at 5 got 7, want 0.
	punch_test.go:51: 2. error reading file at 6 got 7, want 0.
	punch_test.go:51: 2. error reading file at 7 got 9, want 0.
	punch_test.go:51: 2. error reading file at 8 got 9, want 0.
	punch_test.go:51: 2. error reading file at 9 got 11, want 0.
	punch_test.go:51: 2. error reading file at 10 got 11, want 0.
	punch_test.go:51: 2. error reading file at 11 got 13, want 0.
	punch_test.go:51: 2. error reading file at 12 got 13, want 0.
	punch_test.go:51: 2. error reading file at 13 got 15, want 0.
	punch_test.go:51: 2. error reading file at 14 got 15, want 0.
	punch_test.go:51: 2. error reading file at 15 got 17, want 0.
	punch_test.go:51: 2. error reading file at 16 got 17, want 0.
	punch_test.go:51: 2. error reading file at 17 got 19, want 0.
	punch_test.go:51: 2. error reading file at 18 got 19, want 0.
	punch_test.go:51: 2. error reading file at 19 got 21, want 0.
	punch_test.go:51: 2. error reading file at 20 got 21, want 0.
	punch_test.go:51: 2. error reading file at 21 got 23, want 0.
	punch_test.go:51: 2. error reading file at 22 got 23, want 0.
	punch_test.go:51: 2. error reading file at 23 got 25, want 0.
	punch_test.go:51: 2. error reading file at 24 got 25, want 0.
	punch_test.go:51: 2. error reading file at 25 got 27, want 0.
	punch_test.go:51: 2. error reading file at 26 got 27, want 0.
	punch_test.go:51: 2. error reading file at 27 got 29, want 0.
	punch_test.go:51: 2. error reading file at 28 got 29, want 0.
	punch_test.go:51: 2. error reading file at 29 got 31, want 0.
	punch_test.go:51: 2. error reading file at 30 got 31, want 0.
	punch_test.go:51: 2. error reading file at 31 got 33, want 0.
	punch_test.go:51: 2. error reading file at 32 got 33, want 0.
	punch_test.go:51: 2. error reading file at 33 got 35, want 0.
	punch_test.go:51: 2. error reading file at 34 got 35, want 0.
	punch_test.go:51: 2. error reading file at 35 got 37, want 0.
	punch_test.go:51: 2. error reading file at 36 got 37, want 0.
	punch_test.go:51: 2. error reading file at 37 got 39, want 0.
	punch_test.go:51: 2. error reading file at 38 got 39, want 0.
	punch_test.go:51: 2. error reading file at 39 got 41, want 0.
	punch_test.go:51: 2. error reading file at 40 got 41, want 0.
	punch_test.go:51: 2. error reading file at 41 got 43, want 0.
	punch_test.go:51: 2. error reading file at 42 got 43, want 0.
	punch_test.go:51: 2. error reading file at 43 got 45, want 0.
	punch_test.go:51: 2. error reading file at 44 got 45, want 0.
	punch_test.go:51: 2. error reading file at 45 got 47, want 0.
	punch_test.go:51: 2. error reading file at 46 got 47, want 0.
	punch_test.go:51: 2. error reading file at 47 got 49, want 0.
	punch_test.go:51: 2. error reading file at 48 got 49, want 0.
	punch_test.go:51: 2. error reading file at 49 got 51, want 0.
	punch_test.go:51: 2. error reading file at 50 got 51, want 0.
	punch_test.go:51: 2. error reading file at 51 got 53, want 0.
	punch_test.go:51: 2. error reading file at 52 got 53, want 0.
	punch_test.go:51: 2. error reading file at 53 got 55, want 0.
	punch_test.go:51: 2. error reading file at 54 got 55, want 0.
	punch_test.go:51: 2. error reading file at 55 got 57, want 0.
	punch_test.go:51: 2. error reading file at 56 got 57, want 0.
	punch_test.go:51: 2. error reading file at 57 got 59, want 0.
	punch_test.go:51: 2. error reading file at 58 got 59, want 0.
	punch_test.go:51: 2. error reading file at 59 got 61, want 0.
	punch_test.go:51: 2. error reading file at 60 got 61, want 0.
	punch_test.go:51: 2. error reading file at 61 got 63, want 0.
	punch_test.go:51: 2. error reading file at 62 got 63, want 0.
	punch_test.go:51: 2. error reading file at 63 got 65, want 0.
	punch_test.go:51: 2. error reading file at 64 got 65, want 0.
	punch_test.go:51: 2. error reading file at 65 got 67, want 0.
	punch_test.go:51: 2. error reading file at 66 got 67, want 0.
	punch_test.go:51: 2. error reading file at 67 got 69, want 0.
	punch_test.go:51: 2. error reading file at 68 got 69, want 0.
	punch_test.go:51: 2. error reading file at 69 got 71, want 0.
	punch_test.go:51: 2. error reading file at 70 got 71, want 0.
	punch_test.go:51: 2. error reading file at 71 got 73, want 0.
	punch_test.go:51: 2. error reading file at 72 got 73, want 0.
	punch_test.go:51: 2. error reading file at 73 got 75, want 0.
	punch_test.go:51: 2. error reading file at 74 got 75, want 0.
	punch_test.go:51: 2. error reading file at 75 got 77, want 0.
	punch_test.go:51: 2. error reading file at 76 got 77, want 0.
	punch_test.go:51: 2. error reading file at 77 got 79, want 0.
	punch_test.go:51: 2. error reading file at 78 got 79, want 0.
	punch_test.go:51: 2. error reading file at 79 got 81, want 0.
	punch_test.go:51: 2. error reading file at 80 got 81, want 0.
	punch_test.go:51: 2. error reading file at 81 got 83, want 0.
	punch_test.go:51: 2. error reading file at 82 got 83, want 0.
	punch_test.go:51: 2. error reading file at 83 got 85, want 0.
	punch_test.go:51: 2. error reading file at 84 got 85, want 0.
	punch_test.go:51: 2. error reading file at 85 got 87, want 0.
	punch_test.go:51: 2. error reading file at 86 got 87, want 0.
	punch_test.go:51: 2. error reading file at 87 got 89, want 0.
	punch_test.go:51: 2. error reading file at 88 got 89, want 0.
	punch_test.go:51: 2. error reading file at 89 got 91, want 0.
	punch_test.go:51: 2. error reading file at 90 got 91, want 0.
	punch_test.go:51: 2. error reading file at 91 got 93, want 0.
	punch_test.go:51: 2. error reading file at 92 got 93, want 0.
	punch_test.go:51: 2. error reading file at 93 got 95, want 0.
	punch_test.go:51: 2. error reading file at 94 got 95, want 0.
	punch_test.go:51: 2. error reading file at 95 got 97, want 0.
	punch_test.go:51: 2. error reading file at 96 got 97, want 0.
	punch_test.go:51: 2. error reading file at 97 got 99, want 0.
	punch_test.go:51: 2. error reading file at 98 got 99, want 0.
	punch_test.go:51: 2. error reading file at 99 got 101, want 0.
	punch_test.go:51: 2. error reading file at 100 got 101, want 0.
	punch_test.go:51: 2. error reading file at 101 got 103, want 0.
	punch_test.go:51: 2. error reading file at 102 got 103, want 0.
	punch_test.go:51: 2. error reading file at 103 got 105, want 0.
	punch_test.go:51: 2. error reading file at 104 got 105, want 0.
	punch_test.go:51: 2. error reading file at 105 got 107, want 0.
	punch_test.go:51: 2. error reading file at 106 got 107, want 0.
	punch_test.go:51: 2. error reading file at 107 got 109, want 0.
	punch_test.go:51: 2. error reading file at 108 got 109, want 0.
	punch_test.go:51: 2. error reading file at 109 got 111, want 0.
	punch_test.go:51: 2. error reading file at 110 got 111, want 0.
	punch_test.go:51: 2. error reading file at 111 got 113, want 0.
	punch_test.go:51: 2. error reading file at 112 got 113, want 0.
	punch_test.go:51: 2. error reading file at 113 got 115, want 0.
	punch_test.go:51: 2. error reading file at 114 got 115, want 0.
	punch_test.go:51: 2. error reading file at 115 got 117, want 0.
	punch_test.go:51: 2. error reading file at 116 got 117, want 0.
	punch_test.go:51: 2. error reading file at 117 got 119, want 0.
	punch_test.go:51: 2. error reading file at 118 got 119, want 0.
	punch_test.go:51: 2. error reading file at 119 got 121, want 0.
	punch_test.go:51: 2. error reading file at 120 got 121, want 0.
	punch_test.go:51: 2. error reading file at 121 got 123, want 0.
	punch_test.go:51: 2. error reading file at 122 got 123, want 0.
	punch_test.go:51: 2. error reading file at 123 got 125, want 0.
	punch_test.go:51: 2. error reading file at 124 got 125, want 0.
	punch_test.go:51: 2. error reading file at 125 got 127, want 0.
	punch_test.go:51: 2. error reading file at 126 got 127, want 0.
	punch_test.go:51: 2. error reading file at 127 got 129, want 0.
	punch_test.go:51: 2. error reading file at 128 got 129, want 0.
	punch_test.go:51: 2. error reading file at 129 got 131, want 0.
	punch_test.go:51: 2. error reading file at 130 got 131, want 0.
	punch_test.go:51: 2. error reading file at 131 got 133, want 0.
	punch_test.go:51: 2. error reading file at 132 got 133, want 0.
	punch_test.go:51: 2. error reading file at 133 got 135, want 0.
	punch_test.go:51: 2. error reading file at 134 got 135, want 0.
	punch_test.go:51: 2. error reading file at 135 got 137, want 0.
	punch_test.go:51: 2. error reading file at 136 got 137, want 0.
	punch_test.go:51: 2. error reading file at 137 got 139, want 0.
	punch_test.go:51: 2. error reading file at 138 got 139, want 0.
	punch_test.go:51: 2. error reading file at 139 got 141, want 0.
	punch_test.go:51: 2. error reading file at 140 got 141, want 0.
	punch_test.go:51: 2. error reading file at 141 got 143, want 0.
	punch_test.go:51: 2. error reading file at 142 got 143, want 0.
	punch_test.go:51: 2. error reading file at 143 got 145, want 0.
	punch_test.go:51: 2. error reading file at 144 got 145, want 0.
	punch_test.go:51: 2. error reading file at 145 got 147, want 0.
	punch_test.go:51: 2. error reading file at 146 got 147, want 0.
	punch_test.go:51: 2. error reading file at 147 got 149, want 0.
	punch_test.go:51: 2. error reading file at 148 got 149, want 0.
	punch_test.go:51: 2. error reading file at 149 got 151, want 0.
	punch_test.go:51: 2. error reading file at 150 got 151, want 0.
	punch_test.go:51: 2. error reading file at 151 got 153, want 0.
	punch_test.go:51: 2. error reading file at 152 got 153, want 0.
	punch_test.go:51: 2. error reading file at 153 got 155, want 0.
	punch_test.go:51: 2. error reading file at 154 got 155, want 0.
	punch_test.go:51: 2. error reading file at 155 got 157, want 0.
	punch_test.go:51: 2. error reading file at 156 got 157, want 0.
	punch_test.go:51: 2. error reading file at 157 got 159, want 0.
	punch_test.go:51: 2. error reading file at 158 got 159, want 0.
	punch_test.go:51: 2. error reading file at 159 got 161, want 0.
	punch_test.go:51: 2. error reading file at 160 got 161, want 0.
	punch_test.go:51: 2. error reading file at 161 got 163, want 0.
	punch_test.go:51: 2. error reading file at 162 got 163, want 0.
	punch_test.go:51: 2. error reading file at 163 got 165, want 0.
	punch_test.go:51: 2. error reading file at 164 got 165, want 0.
	punch_test.go:51: 2. error reading file at 165 got 167, want 0.
	punch_test.go:51: 2. error reading file at 166 got 167, want 0.
	punch_test.go:51: 2. error reading file at 167 got 169, want 0.
	punch_test.go:51: 2. error reading file at 168 got 169, want 0.
	punch_test.go:51: 2. error reading file at 169 got 171, want 0.
	punch_test.go:51: 2. error reading file at 170 got 171, want 0.
	punch_test.go:51: 2. error reading file at 171 got 173, want 0.
	punch_test.go:51: 2. error reading file at 172 got 173, want 0.
	punch_test.go:51: 2. error reading file at 173 got 175, want 0.
	punch_test.go:51: 2. error reading file at 174 got 175, want 0.
	punch_test.go:51: 2. error reading file at 175 got 177, want 0.
	punch_test.go:51: 2. error reading file at 176 got 177, want 0.
	punch_test.go:51: 2. error reading file at 177 got 179, want 0.
	punch_test.go:51: 2. error reading file at 178 got 179, want 0.
	punch_test.go:51: 2. error reading file at 179 got 181, want 0.
	punch_test.go:51: 2. error reading file at 180 got 181, want 0.
	punch_test.go:51: 2. error reading file at 181 got 183, want 0.
	punch_test.go:51: 2. error reading file at 182 got 183, want 0.
	punch_test.go:51: 2. error reading file at 183 got 185, want 0.
	punch_test.go:51: 2. error reading file at 184 got 185, want 0.
	punch_test.go:51: 2. error reading file at 185 got 187, want 0.
	punch_test.go:51: 2. error reading file at 186 got 187, want 0.
	punch_test.go:51: 2. error reading file at 187 got 189, want 0.
	punch_test.go:51: 2. error reading file at 188 got 189, want 0.
	punch_test.go:51: 2. error reading file at 189 got 191, want 0.
	punch_test.go:51: 2. error reading file at 190 got 191, want 0.
	punch_test.go:51: 2. error reading file at 191 got 193, want 0.
	punch_test.go:51: 2. error reading file at 192 got 193, want 0.
	punch_test.go:51: 2. error reading file at 193 got 195, want 0.
	punch_test.go:51: 2. error reading file at 194 got 195, want 0.
	punch_test.go:51: 2. error reading file at 195 got 197, want 0.
	punch_test.go:51: 2. error reading file at 196 got 197, want 0.
	punch_test.go:51: 2. error reading file at 197 got 199, want 0.
	punch_test.go:51: 2. error reading file at 198 got 199, want 0.
	punch_test.go:51: 2. error reading file at 199 got 201, want 0.
	punch_test.go:51: 2. error reading file at 200 got 201, want 0.
	punch_test.go:51: 2. error reading file at 201 got 203, want 0.
	punch_test.go:51: 2. error reading file at 202 got 203, want 0.
	punch_test.go:51: 2. error reading file at 203 got 205, want 0.
	punch_test.go:51: 2. error reading file at 204 got 205, want 0.
	punch_test.go:51: 2. error reading file at 205 got 207, want 0.
	punch_test.go:51: 2. error reading file at 206 got 207, want 0.
	punch_test.go:51: 2. error reading file at 207 got 209, want 0.
	punch_test.go:51: 2. error reading file at 208 got 209, want 0.
	punch_test.go:51: 2. error reading file at 209 got 211, want 0.
	punch_test.go:51: 2. error reading file at 210 got 211, want 0.
	punch_test.go:51: 2. error reading file at 211 got 213, want 0.
	punch_test.go:51: 2. error reading file at 212 got 213, want 0.
	punch_test.go:51: 2. error reading file at 213 got 215, want 0.
	punch_test.go:51: 2. error reading file at 214 got 215, want 0.
	punch_test.go:51: 2. error reading file at 215 got 217, want 0.
	punch_test.go:51: 2. error reading file at 216 got 217, want 0.
	punch_test.go:51: 2. error reading file at 217 got 219, want 0.
	punch_test.go:51: 2. error reading file at 218 got 219, want 0.
	punch_test.go:51: 2. error reading file at 219 got 221, want 0.
	punch_test.go:51: 2. error reading file at 220 got 221, want 0.
	punch_test.go:51: 2. error reading file at 221 got 223, want 0.
	punch_test.go:51: 2. error reading file at 222 got 223, want 0.
	punch_test.go:51: 2. error reading file at 223 got 225, want 0.
	punch_test.go:51: 2. error reading file at 224 got 225, want 0.
	punch_test.go:51: 2. error reading file at 225 got 227, want 0.
	punch_test.go:51: 2. error reading file at 226 got 227, want 0.
	punch_test.go:51: 2. error reading file at 227 got 229, want 0.
	punch_test.go:51: 2. error reading file at 228 got 229, want 0.
	punch_test.go:51: 2. error reading file at 229 got 231, want 0.
	punch_test.go:51: 2. error reading file at 230 got 231, want 0.
	punch_test.go:51: 2. error reading file at 231 got 233, want 0.
	punch_test.go:51: 2. error reading file at 232 got 233, want 0.
	punch_test.go:51: 2. error reading file at 233 got 235, want 0.
	punch_test.go:51: 2. error reading file at 234 got 235, want 0.
	punch_test.go:51: 2. error reading file at 235 got 237, want 0.
	punch_test.go:51: 2. error reading file at 236 got 237, want 0.
	punch_test.go:51: 2. error reading file at 237 got 239, want 0.
	punch_test.go:51: 2. error reading file at 238 got 239, want 0.
	punch_test.go:51: 2. error reading file at 239 got 241, want 0.
	punch_test.go:51: 2. error reading file at 240 got 241, want 0.
	punch_test.go:51: 2. error reading file at 241 got 243, want 0.
	punch_test.go:51: 2. error reading file at 242 got 243, want 0.
	punch_test.go:51: 2. error reading file at 243 got 245, want 0.
	punch_test.go:51: 2. error reading file at 244 got 245, want 0.
	punch_test.go:51: 2. error reading file at 245 got 247, want 0.
	punch_test.go:51: 2. error reading file at 246 got 247, want 0.
	punch_test.go:51: 2. error reading file at 247 got 249, want 0.
	punch_test.go:51: 2. error reading file at 248 got 249, want 0.
	punch_test.go:51: 2. error reading file at 249 got 251, want 0.
	punch_test.go:51: 2. error reading file at 250 got 251, want 0.
	punch_test.go:51: 2. error reading file at 251 got 253, want 0.
	punch_test.go:51: 2. error reading file at 252 got 253, want 0.
	punch_test.go:51: 2. error reading file at 253 got 255, want 0.
	punch_test.go:51: 2. error reading file at 254 got 255, want 0.
	punch_test.go:51: 2. error reading file at 255 got 1, want 0.
	punch_test.go:51: 2. error reading file at 256 got 1, want 0.
	punch_test.go:51: 2. error reading file at 257 got 3, want 0.
	punch_test.go:51: 2. error reading file at 258 got 3, want 0.
	punch_test.go:51: 2. error reading file at 259 got 5, want 0.
	punch_test.go:51: 2. error reading file at 260 got 5, want 0.
	punch_test.go:51: 2. error reading file at 261 got 7, want 0.
	punch_test.go:51: 2. error reading file at 262 got 7, want 0.
	punch_test.go:51: 2. error reading file at 263 got 9, want 0.
	punch_test.go:51: 2. error reading file at 264 got 9, want 0.
	punch_test.go:51: 2. error reading file at 265 got 11, want 0.
	punch_test.go:51: 2. error reading file at 266 got 11, want 0.
	punch_test.go:51: 2. error reading file at 267 got 13, want 0.
	punch_test.go:51: 2. error reading file at 268 got 13, want 0.
	punch_test.go:51: 2. error reading file at 269 got 15, want 0.
	punch_test.go:51: 2. error reading file at 270 got 15, want 0.
	punch_test.go:51: 2. error reading file at 271 got 17, want 0.
	punch_test.go:51: 2. error reading file at 272 got 17, want 0.
	punch_test.go:51: 2. error reading file at 273 got 19, want 0.
	punch_test.go:51: 2. error reading file at 274 got 19, want 0.
	punch_test.go:51: 2. error reading file at 275 got 21, want 0.
	punch_test.go:51: 2. error reading file at 276 got 21, want 0.
	punch_test.go:51: 2. error reading file at 277 got 23, want 0.
	punch_test.go:51: 2. error reading file at 278 got 23, want 0.
	punch_test.go:51: 2. error reading file at 279 got 25, want 0.
	punch_test.go:51: 2. error reading file at 280 got 25, want 0.
	punch_test.go:51: 2. error reading file at 281 got 27, want 0.
	punch_test.go:51: 2. error reading file at 282 got 27, want 0.
	punch_test.go:51: 2. error reading file at 283 got 29, want 0.
	punch_test.go:51: 2. error reading file at 284 got 29, want 0.
	punch_test.go:51: 2. error reading file at 285 got 31, want 0.
	punch_test.go:51: 2. error reading file at 286 got 31, want 0.
	punch_test.go:51: 2. error reading file at 287 got 33, want 0.
	punch_test.go:51: 2. error reading file at 288 got 33, want 0.
	punch_test.go:51: 2. error reading file at 289 got 35, want 0.
	punch_test.go:51: 2. error reading file at 290 got 35, want 0.
	punch_test.go:51: 2. error reading file at 291 got 37, want 0.
	punch_test.go:51: 2. error reading file at 292 got 37, want 0.
	punch_test.go:51: 2. error reading file at 293 got 39, want 0.
	punch_test.go:51: 2. error reading file at 294 got 39, want 0.
	punch_test.go:51: 2. error reading file at 295 got 41, want 0.
	punch_test.go:51: 2. error reading file at 296 got 41, want 0.
	punch_test.go:51: 2. error reading file at 297 got 43, want 0.
	punch_test.go:51: 2. error reading file at 298 got 43, want 0.
	punch_test.go:51: 2. error reading file at 299 got 45, want 0.
	punch_test.go:51: 2. error reading file at 300 got 45, want 0.
	punch_test.go:51: 2. error reading file at 301 got 47, want 0.
	punch_test.go:51: 2. error reading file at 302 got 47, want 0.
	punch_test.go:51: 2. error reading file at 303 got 49, want 0.
	punch_test.go:51: 2. error reading file at 304 got 49, want 0.
	punch_test.go:51: 2. error reading file at 305 got 51, want 0.
	punch_test.go:51: 2. error reading file at 306 got 51, want 0.
	punch_test.go:51: 2. error reading file at 307 got 53, want 0.
	punch_test.go:51: 2. error reading file at 308 got 53, want 0.
	punch_test.go:51: 2. error reading file at 309 got 55, want 0.
	punch_test.go:51: 2. error reading file at 310 got 55, want 0.
	punch_test.go:51: 2. error reading file at 311 got 57, want 0.
	punch_test.go:51: 2. error reading file at 312 got 57, want 0.
	punch_test.go:51: 2. error reading file at 313 got 59, want 0.
	punch_test.go:51: 2. error reading file at 314 got 59, want 0.
	punch_test.go:51: 2. error reading file at 315 got 61, want 0.
	punch_test.go:51: 2. error reading file at 316 got 61, want 0.
	punch_test.go:51: 2. error reading file at 317 got 63, want 0.
	punch_test.go:51: 2. error reading file at 318 got 63, want 0.
	punch_test.go:51: 2. error reading file at 319 got 65, want 0.
	punch_test.go:51: 2. error reading file at 320 got 65, want 0.
	punch_test.go:51: 2. error reading file at 321 got 67, want 0.
	punch_test.go:51: 2. error reading file at 322 got 67, want 0.
	punch_test.go:51: 2. error reading file at 323 got 69, want 0.
	punch_test.go:51: 2. error reading file at 324 got 69, want 0.
	punch_test.go:51: 2. error reading file at 325 got 71, want 0.
	punch_test.go:51: 2. error reading file at 326 got 71, want 0.
	punch_test.go:51: 2. error reading file at 327 got 73, want 0.
	punch_test.go:51: 2. error reading file at 328 got 73, want 0.
	punch_test.go:51: 2. error reading file at 329 got 75, want 0.
	punch_test.go:51: 2. error reading file at 330 got 75, want 0.
	punch_test.go:51: 2. error reading file at 331 got 77, want 0.
	punch_test.go:51: 2. error reading file at 332 got 77, want 0.
	punch_test.go:51: 2. error reading file at 333 got 79, want 0.
	punch_test.go:51: 2. error reading file at 334 got 79, want 0.
	punch_test.go:51: 2. error reading file at 335 got 81, want 0.
	punch_test.go:51: 2. error reading file at 336 got 81, want 0.
	punch_test.go:51: 2. error reading file at 337 got 83, want 0.
	punch_test.go:51: 2. error reading file at 338 got 83, want 0.
	punch_test.go:51: 2. error reading file at 339 got 85, want 0.
	punch_test.go:51: 2. error reading file at 340 got 85, want 0.
	punch_test.go:51: 2. error reading file at 341 got 87, want 0.
	punch_test.go:51: 2. error reading file at 342 got 87, want 0.
	punch_test.go:51: 2. error reading file at 343 got 89, want 0.
	punch_test.go:51: 2. error reading file at 344 got 89, want 0.
	punch_test.go:51: 2. error reading file at 345 got 91, want 0.
	punch_test.go:51: 2. error reading file at 346 got 91, want 0.
	punch_test.go:51: 2. error reading file at 347 got 93, want 0.
	punch_test.go:51: 2. error reading file at 348 got 93, want 0.
	punch_test.go:51: 2. error reading file at 349 got 95, want 0.
	punch_test.go:51: 2. error reading file at 350 got 95, want 0.
	punch_test.go:51: 2. error reading file at 351 got 97, want 0.
	punch_test.go:51: 2. error reading file at 352 got 97, want 0.
	punch_test.go:51: 2. error reading file at 353 got 99, want 0.
	punch_test.go:51: 2. error reading file at 354 got 99, want 0.
	punch_test.go:51: 2. error reading file at 355 got 101, want 0.
	punch_test.go:51: 2. error reading file at 356 got 101, want 0.
	punch_test.go:51: 2. error reading file at 357 got 103, want 0.
	punch_test.go:51: 2. error reading file at 358 got 103, want 0.
	punch_test.go:51: 2. error reading file at 359 got 105, want 0.
	punch_test.go:51: 2. error reading file at 360 got 105, want 0.
	punch_test.go:51: 2. error reading file at 361 got 107, want 0.
	punch_test.go:51: 2. error reading file at 362 got 107, want 0.
	punch_test.go:51: 2. error reading file at 363 got 109, want 0.
	punch_test.go:51: 2. error reading file at 364 got 109, want 0.
	punch_test.go:51: 2. error reading file at 365 got 111, want 0.
	punch_test.go:51: 2. error reading file at 366 got 111, want 0.
	punch_test.go:51: 2. error reading file at 367 got 113, want 0.
	punch_test.go:51: 2. error reading file at 368 got 113, want 0.
	punch_test.go:51: 2. error reading file at 369 got 115, want 0.
	punch_test.go:51: 2. error reading file at 370 got 115, want 0.
	punch_test.go:51: 2. error reading file at 371 got 117, want 0.
	punch_test.go:51: 2. error reading file at 372 got 117, want 0.
	punch_test.go:51: 2. error reading file at 373 got 119, want 0.
	punch_test.go:51: 2. error reading file at 374 got 119, want 0.
	punch_test.go:51: 2. error reading file at 375 got 121, want 0.
	punch_test.go:51: 2. error reading file at 376 got 121, want 0.
	punch_test.go:51: 2. error reading file at 377 got 123, want 0.
	punch_test.go:51: 2. error reading file at 378 got 123, want 0.
	punch_test.go:51: 2. error reading file at 379 got 125, want 0.
	punch_test.go:51: 2. error reading file at 380 got 125, want 0.
	punch_test.go:51: 2. error reading file at 381 got 127, want 0.
	punch_test.go:51: 2. error reading file at 382 got 127, want 0.
	punch_test.go:51: 2. error reading file at 383 got 129, want 0.
	punch_test.go:51: 2. error reading file at 384 got 129, want 0.
	punch_test.go:51: 2. error reading file at 385 got 131, want 0.
	punch_test.go:51: 2. error reading file at 386 got 131, want 0.
	punch_test.go:51: 2. error reading file at 387 got 133, want 0.
	punch_test.go:51: 2. error reading file at 388 got 133, want 0.
	punch_test.go:51: 2. error reading file at 389 got 135, want 0.
	punch_test.go:51: 2. error reading file at 390 got 135, want 0.
	punch_test.go:51: 2. error reading file at 391 got 137, want 0.
	punch_test.go:51: 2. error reading file at 392 got 137, want 0.
	punch_test.go:51: 2. error reading file at 393 got 139, want 0.
	punch_test.go:51: 2. error reading file at 394 got 139, want 0.
	punch_test.go:51: 2. error reading file at 395 got 141, want 0.
	punch_test.go:51: 2. error reading file at 396 got 141, want 0.
	punch_test.go:51: 2. error reading file at 397 got 143, want 0.
	punch_test.go:51: 2. error reading file at 398 got 143, want 0.
	punch_test.go:51: 2. error reading file at 399 got 145, want 0.
	punch_test.go:51: 2. error reading file at 400 got 145, want 0.
	punch_test.go:51: 2. error reading file at 401 got 147, want 0.
	punch_test.go:51: 2. error reading file at 402 got 147, want 0.
	punch_test.go:51: 2. error reading file at 403 got 149, want 0.
	punch_test.go:51: 2. error reading file at 404 got 149, want 0.
	punch_test.go:51: 2. error reading file at 405 got 151, want 0.
	punch_test.go:51: 2. error reading file at 406 got 151, want 0.
	punch_test.go:51: 2. error reading file at 407 got 153, want 0.
	punch_test.go:51: 2. error reading file at 408 got 153, want 0.
	punch_test.go:51: 2. error reading file at 409 got 155, want 0.
	punch_test.go:51: 2. error reading file at 410 got 155, want 0.
	punch_test.go:51: 2. error reading file at 411 got 157, want 0.
	punch_test.go:51: 2. error reading file at 412 got 157, want 0.
	punch_test.go:51: 2. error reading file at 413 got 159, want 0.
	punch_test.go:51: 2. error reading file at 414 got 159, want 0.
	punch_test.go:51: 2. error reading file at 415 got 161, want 0.
	punch_test.go:51: 2. error reading file at 416 got 161, want 0.
	punch_test.go:51: 2. error reading file at 417 got 163, want 0.
	punch_test.go:51: 2. error reading file at 418 got 163, want 0.
	punch_test.go:51: 2. error reading file at 419 got 165, want 0.
	punch_test.go:51: 2. error reading file at 420 got 165, want 0.
	punch_test.go:51: 2. error reading file at 421 got 167, want 0.
	punch_test.go:51: 2. error reading file at 422 got 167, want 0.
	punch_test.go:51: 2. error reading file at 423 got 169, want 0.
	punch_test.go:51: 2. error reading file at 424 got 169, want 0.
	punch_test.go:51: 2. error reading file at 425 got 171, want 0.
	punch_test.go:51: 2. error reading file at 426 got 171, want 0.
	punch_test.go:51: 2. error reading file at 427 got 173, want 0.
	punch_test.go:51: 2. error reading file at 428 got 173, want 0.
	punch_test.go:51: 2. error reading file at 429 got 175, want 0.
	punch_test.go:51: 2. error reading file at 430 got 175, want 0.
	punch_test.go:51: 2. error reading file at 431 got 177, want 0.
	punch_test.go:51: 2. error reading file at 432 got 177, want 0.
	punch_test.go:51: 2. error reading file at 433 got 179, want 0.
	punch_test.go:51: 2. error reading file at 434 got 179, want 0.
	punch_test.go:51: 2. error reading file at 435 got 181, want 0.
	punch_test.go:51: 2. error reading file at 436 got 181, want 0.
	punch_test.go:51: 2. error reading file at 437 got 183, want 0.
	punch_test.go:51: 2. error reading file at 438 got 183, want 0.
	punch_test.go:51: 2. error reading file at 439 got 185, want 0.
	punch_test.go:51: 2. error reading file at 440 got 185, want 0.
	punch_test.go:51: 2. error reading file at 441 got 187, want 0.
	punch_test.go:51: 2. error reading file at 442 got 187, want 0.
	punch_test.go:51: 2. error reading file at 443 got 189, want 0.
	punch_test.go:51: 2. error reading file at 444 got 189, want 0.
	punch_test.go:51: 2. error reading file at 445 got 191, want 0.
	punch_test.go:51: 2. error reading file at 446 got 191, want 0.
	punch_test.go:51: 2. error reading file at 447 got 193, want 0.
	punch_test.go:51: 2. error reading file at 448 got 193, want 0.
	punch_test.go:51: 2. error reading file at 449 got 195, want 0.
	punch_test.go:51: 2. error reading file at 450 got 195, want 0.
	punch_test.go:51: 2. error reading file at 451 got 197, want 0.
	punch_test.go:51: 2. error reading file at 452 got 197, want 0.
	punch_test.go:51: 2. error reading file at 453 got 199, want 0.
	punch_test.go:51: 2. error reading file at 454 got 199, want 0.
	punch_test.go:51: 2. error reading file at 455 got 201, want 0.
	punch_test.go:51: 2. error reading file at 456 got 201, want 0.
	punch_test.go:51: 2. error reading file at 457 got 203, want 0.
	punch_test.go:51: 2. error reading file at 458 got 203, want 0.
	punch_test.go:51: 2. error reading file at 459 got 205, want 0.
	punch_test.go:51: 2. error reading file at 460 got 205, want 0.
	punch_test.go:51: 2. error reading file at 461 got 207, want 0.
	punch_test.go:51: 2. error reading file at 462 got 207, want 0.
	punch_test.go:51: 2. error reading file at 463 got 209, want 0.
	punch_test.go:51: 2. error reading file at 464 got 209, want 0.
	punch_test.go:51: 2. error reading file at 465 got 211, want 0.
	punch_test.go:51: 2. error reading file at 466 got 211, want 0.
	punch_test.go:51: 2. error reading file at 467 got 213, want 0.
	punch_test.go:51: 2. error reading file at 468 got 213, want 0.
	punch_test.go:51: 2. error reading file at 469 got 215, want 0.
	punch_test.go:51: 2. error reading file at 470 got 215, want 0.
	punch_test.go:51: 2. error reading file at 471 got 217, want 0.
	punch_test.go:51: 2. error reading file at 472 got 217, want 0.
	punch_test.go:51: 2. error reading file at 473 got 219, want 0.
	punch_test.go:51: 2. error reading file at 474 got 219, want 0.
	punch_test.go:51: 2. error reading file at 475 got 221, want 0.
	punch_test.go:51: 2. error reading file at 476 got 221, want 0.
	punch_test.go:51: 2. error reading file at 477 got 223, want 0.
	punch_test.go:51: 2. error reading file at 478 got 223, want 0.
	punch_test.go:51: 2. error reading file at 479 got 225, want 0.
	punch_test.go:51: 2. error reading file at 480 got 225, want 0.
	punch_test.go:51: 2. error reading file at 481 got 227, want 0.
	punch_test.go:51: 2. error reading file at 482 got 227, want 0.
	punch_test.go:51: 2. error reading file at 483 got 229, want 0.
	punch_test.go:51: 2. error reading file at 484 got 229, want 0.
	punch_test.go:51: 2. error reading file at 485 got 231, want 0.
	punch_test.go:51: 2. error reading file at 486 got 231, want 0.
	punch_test.go:51: 2. error reading file at 487 got 233, want 0.
	punch_test.go:51: 2. error reading file at 488 got 233, want 0.
	punch_test.go:51: 2. error reading file at 489 got 235, want 0.
	punch_test.go:51: 2. error reading file at 490 got 235, want 0.
	punch_test.go:51: 2. error reading file at 491 got 237, want 0.
	punch_test.go:51: 2. error reading file at 492 got 237, want 0.
	punch_test.go:51: 2. error reading file at 493 got 239, want 0.
	punch_test.go:51: 2. error reading file at 494 got 239, want 0.
	punch_test.go:51: 2. error reading file at 495 got 241, want 0.
	punch_test.go:51: 2. error reading file at 496 got 241, want 0.
	punch_test.go:51: 2. error reading file at 497 got 243, want 0.
	punch_test.go:51: 2. error reading file at 498 got 243, want 0.
	punch_test.go:51: 2. error reading file at 499 got 245, want 0.
	punch_test.go:51: 2. error reading file at 500 got 245, want 0.
	punch_test.go:51: 2. error reading file at 501 got 247, want 0.
	punch_test.go:51: 2. error reading file at 502 got 247, want 0.
	punch_test.go:51: 2. error reading file at 503 got 249, want 0.
	punch_test.go:51: 2. error reading file at 504 got 249, want 0.
	punch_test.go:51: 2. error reading file at 505 got 251, want 0.
	punch_test.go:51: 2. error reading file at 506 got 251, want 0.
	punch_test.go:51: 2. error reading file at 507 got 253, want 0.
	punch_test.go:51: 2. error reading file at 508 got 253, want 0.
	punch_test.go:51: 2. error reading file at 509 got 255, want 0.
	punch_test.go:51: 2. error reading file at 510 got 255, want 0.
	punch_test.go:51: 2. error reading file at 511 got 1, want 0.
	punch_test.go:51: 2. error reading file at 512 got 1, want 0.
	punch_test.go:51: 2. error reading file at 513 got 3, want 0.
	punch_test.go:51: 2. error reading file at 514 got 3, want 0.
	punch_test.go:51: 2. error reading file at 515 got 5, want 0.
	punch_test.go:51: 2. error reading file at 516 got 5, want 0.
	punch_test.go:51: 2. error reading file at 517 got 7, want 0.
	punch_test.go:51: 2. error reading file at 518 got 7, want 0.
	punch_test.go:51: 2. error reading file at 519 got 9, want 0.
	punch_test.go:51: 2. error reading file at 520 got 9, want 0.
	punch_test.go:51: 2. error reading file at 521 got 11, want 0.
	punch_test.go:51: 2. error reading file at 522 got 11, want 0.
	punch_test.go:51: 2. error reading file at 523 got 13, want 0.
	punch_test.go:51: 2. error reading file at 524 got 13, want 0.
	punch_test.go:51: 2. error reading file at 525 got 15, want 0.
	punch_test.go:51: 2. error reading file at 526 got 15, want 0.
	punch_test.go:51: 2. error reading file at 527 got 17, want 0.
	punch_test.go:51: 2. error reading file at 528 got 17, want 0.
	punch_test.go:51: 2. error reading file at 529 got 19, want 0.
	punch_test.go:51: 2. error reading file at 530 got 19, want 0.
	punch_test.go:51: 2. error reading file at 531 got 21, want 0.
	punch_test.go:51: 2. error reading file at 532 got 21, want 0.
	punch_test.go:51: 2. error reading file at 533 got 23, want 0.
	punch_test.go:51: 2. error reading file at 534 got 23, want 0.
	punch_test.go:51: 2. error reading file at 535 got 25, want 0.
	punch_test.go:51: 2. error reading file at 536 got 25, want 0.
	punch_test.go:51: 2. error reading file at 537 got 27, want 0.
	punch_test.go:51: 2. error reading file at 538 got 27, want 0.
	punch_test.go:51: 2. error reading file at 539 got 29, want 0.
	punch_test.go:51: 2. error reading file at 540 got 29, want 0.
	punch_test.go:51: 2. error reading file at 541 got 31, want 0.
	punch_test.go:51: 2. error reading file at 542 got 31, want 0.
	punch_test.go:51: 2. error reading file at 543 got 33, want 0.
	punch_test.go:51: 2. error reading file at 544 got 33, want 0.
	punch_test.go:51: 2. error reading file at 545 got 35, want 0.
	punch_test.go:51: 2. error reading file at 546 got 35, want 0.
	punch_test.go:51: 2. error reading file at 547 got 37, want 0.
	punch_test.go:51: 2. error reading file at 548 got 37, want 0.
	punch_test.go:51: 2. error reading file at 549 got 39, want 0.
	punch_test.go:51: 2. error reading file at 550 got 39, want 0.
	punch_test.go:51: 2. error reading file at 551 got 41, want 0.
	punch_test.go:51: 2. error reading file at 552 got 41, want 0.
	punch_test.go:51: 2. error reading file at 553 got 43, want 0.
	punch_test.go:51: 2. error reading file at 554 got 43, want 0.
	punch_test.go:51: 2. error reading file at 555 got 45, want 0.
	punch_test.go:51: 2. error reading file at 556 got 45, want 0.
	punch_test.go:51: 2. error reading file at 557 got 47, want 0.
	punch_test.go:51: 2. error reading file at 558 got 47, want 0.
	punch_test.go:51: 2. error reading file at 559 got 49, want 0.
	punch_test.go:51: 2. error reading file at 560 got 49, want 0.
	punch_test.go:51: 2. error reading file at 561 got 51, want 0.
	punch_test.go:51: 2. error reading file at 562 got 51, want 0.
	punch_test.go:51: 2. error reading file at 563 got 53, want 0.
	punch_test.go:51: 2. error reading file at 564 got 53, want 0.
	punch_test.go:51: 2. error reading file at 565 got 55, want 0.
	punch_test.go:51: 2. error reading file at 566 got 55, want 0.
	punch_test.go:51: 2. error reading file at 567 got 57, want 0.
	punch_test.go:51: 2. error reading file at 568 got 57, want 0.
	punch_test.go:51: 2. error reading file at 569 got 59, want 0.
	punch_test.go:51: 2. error reading file at 570 got 59, want 0.
	punch_test.go:51: 2. error reading file at 571 got 61, want 0.
	punch_test.go:51: 2. error reading file at 572 got 61, want 0.
	punch_test.go:51: 2. error reading file at 573 got 63, want 0.
	punch_test.go:51: 2. error reading file at 574 got 63, want 0.
	punch_test.go:51: 2. error reading file at 575 got 65, want 0.
	punch_test.go:51: 2. error reading file at 576 got 65, want 0.
	punch_test.go:51: 2. error reading file at 577 got 67, want 0.
	punch_test.go:51: 2. error reading file at 578 got 67, want 0.
	punch_test.go:51: 2. error reading file at 579 got 69, want 0.
	punch_test.go:51: 2. error reading file at 580 got 69, want 0.
	punch_test.go:51: 2. error reading file at 581 got 71, want 0.
	punch_test.go:51: 2. error reading file at 582 got 71, want 0.
	punch_test.go:51: 2. error reading file at 583 got 73, want 0.
	punch_test.go:51: 2. error reading file at 584 got 73, want 0.
	punch_test.go:51: 2. error reading file at 585 got 75, want 0.
	punch_test.go:51: 2. error reading file at 586 got 75, want 0.
	punch_test.go:51: 2. error reading file at 587 got 77, want 0.
	punch_test.go:51: 2. error reading file at 588 got 77, want 0.
	punch_test.go:51: 2. error reading file at 589 got 79, want 0.
	punch_test.go:51: 2. error reading file at 590 got 79, want 0.
	punch_test.go:51: 2. error reading file at 591 got 81, want 0.
	punch_test.go:51: 2. error reading file at 592 got 81, want 0.
	punch_test.go:51: 2. error reading file at 593 got 83, want 0.
	punch_test.go:51: 2. error reading file at 594 got 83, want 0.
	punch_test.go:51: 2. error reading file at 595 got 85, want 0.
	punch_test.go:51: 2. error reading file at 596 got 85, want 0.
	punch_test.go:51: 2. error reading file at 597 got 87, want 0.
	punch_test.go:51: 2. error reading file at 598 got 87, want 0.
	punch_test.go:51: 2. error reading file at 599 got 89, want 0.
	punch_test.go:51: 2. error reading file at 600 got 89, want 0.
	punch_test.go:51: 2. error reading file at 601 got 91, want 0.
	punch_test.go:51: 2. error reading file at 602 got 91, want 0.
	punch_test.go:51: 2. error reading file at 603 got 93, want 0.
	punch_test.go:51: 2. error reading file at 604 got 93, want 0.
	punch_test.go:51: 2. error reading file at 605 got 95, want 0.
	punch_test.go:51: 2. error reading file at 606 got 95, want 0.
	punch_test.go:51: 2. error reading file at 607 got 97, want 0.
	punch_test.go:51: 2. error reading file at 608 got 97, want 0.
	punch_test.go:51: 2. error reading file at 609 got 99, want 0.
	punch_test.go:51: 2. error reading file at 610 got 99, want 0.
	punch_test.go:51: 2. error reading file at 611 got 101, want 0.
	punch_test.go:51: 2. error reading file at 612 got 101, want 0.
	punch_test.go:51: 2. error reading file at 613 got 103, want 0.
	punch_test.go:51: 2. error reading file at 614 got 103, want 0.
	punch_test.go:51: 2. error reading file at 615 got 105, want 0.
	punch_test.go:51: 2. error reading file at 616 got 105, want 0.
	punch_test.go:51: 2. error reading file at 617 got 107, want 0.
	punch_test.go:51: 2. error reading file at 618 got 107, want 0.
	punch_test.go:51: 2. error reading file at 619 got 109, want 0.
	punch_test.go:51: 2. error reading file at 620 got 109, want 0.
	punch_test.go:51: 2. error reading file at 621 got 111, want 0.
	punch_test.go:51: 2. error reading file at 622 got 111, want 0.
	punch_test.go:51: 2. error reading file at 623 got 113, want 0.
	punch_test.go:51: 2. error reading file at 624 got 113, want 0.
	punch_test.go:51: 2. error reading file at 625 got 115, want 0.
	punch_test.go:51: 2. error reading file at 626 got 115, want 0.
	punch_test.go:51: 2. error reading file at 627 got 117, want 0.
	punch_test.go:51: 2. error reading file at 628 got 117, want 0.
	punch_test.go:51: 2. error reading file at 629 got 119, want 0.
	punch_test.go:51: 2. error reading file at 630 got 119, want 0.
	punch_test.go:51: 2. error reading file at 631 got 121, want 0.
	punch_test.go:51: 2. error reading file at 632 got 121, want 0.
	punch_test.go:51: 2. error reading file at 633 got 123, want 0.
	punch_test.go:51: 2. error reading file at 634 got 123, want 0.
	punch_test.go:51: 2. error reading file at 635 got 125, want 0.
	punch_test.go:51: 2. error reading file at 636 got 125, want 0.
	punch_test.go:51: 2. error reading file at 637 got 127, want 0.
	punch_test.go:51: 2. error reading file at 638 got 127, want 0.
	punch_test.go:51: 2. error reading file at 639 got 129, want 0.
	punch_test.go:51: 2. error reading file at 640 got 129, want 0.
	punch_test.go:51: 2. error reading file at 641 got 131, want 0.
	punch_test.go:51: 2. error reading file at 642 got 131, want 0.
	punch_test.go:51: 2. error reading file at 643 got 133, want 0.
	punch_test.go:51: 2. error reading file at 644 got 133, want 0.
	punch_test.go:51: 2. error reading file at 645 got 135, want 0.
	punch_test.go:51: 2. error reading file at 646 got 135, want 0.
	punch_test.go:51: 2. error reading file at 647 got 137, want 0.
	punch_test.go:51: 2. error reading file at 648 got 137, want 0.
	punch_test.go:51: 2. error reading file at 649 got 139, want 0.
	punch_test.go:51: 2. error reading file at 650 got 139, want 0.
	punch_test.go:51: 2. error reading file at 651 got 141, want 0.
	punch_test.go:51: 2. error reading file at 652 got 141, want 0.
	punch_test.go:51: 2. error reading file at 653 got 143, want 0.
	punch_test.go:51: 2. error reading file at 654 got 143, want 0.
	punch_test.go:51: 2. error reading file at 655 got 145, want 0.
	punch_test.go:51: 2. error reading file at 656 got 145, want 0.
	punch_test.go:51: 2. error reading file at 657 got 147, want 0.
	punch_test.go:51: 2. error reading file at 658 got 147, want 0.
	punch_test.go:51: 2. error reading file at 659 got 149, want 0.
	punch_test.go:51: 2. error reading file at 660 got 149, want 0.
	punch_test.go:51: 2. error reading file at 661 got 151, want 0.
	punch_test.go:51: 2. error reading file at 662 got 151, want 0.
	punch_test.go:51: 2. error reading file at 663 got 153, want 0.
	punch_test.go:51: 2. error reading file at 664 got 153, want 0.
	punch_test.go:51: 2. error reading file at 665 got 155, want 0.
	punch_test.go:51: 2. error reading file at 666 got 155, want 0.
	punch_test.go:51: 2. error reading file at 667 got 157, want 0.
	punch_test.go:51: 2. error reading file at 668 got 157, want 0.
	punch_test.go:51: 2. error reading file at 669 got 159, want 0.
	punch_test.go:51: 2. error reading file at 670 got 159, want 0.
	punch_test.go:51: 2. error reading file at 671 got 161, want 0.
	punch_test.go:51: 2. error reading file at 672 got 161, want 0.
	punch_test.go:51: 2. error reading file at 673 got 163, want 0.
	punch_test.go:51: 2. error reading file at 674 got 163, want 0.
	punch_test.go:51: 2. error reading file at 675 got 165, want 0.
	punch_test.go:51: 2. error reading file at 676 got 165, want 0.
	punch_test.go:51: 2. error reading file at 677 got 167, want 0.
	punch_test.go:51: 2. error reading file at 678 got 167, want 0.
	punch_test.go:51: 2. error reading file at 679 got 169, want 0.
	punch_test.go:51: 2. error reading file at 680 got 169, want 0.
	punch_test.go:51: 2. error reading file at 681 got 171, want 0.
	punch_test.go:51: 2. error reading file at 682 got 171, want 0.
	punch_test.go:51: 2. error reading file at 683 got 173, want 0.
	punch_test.go:51: 2. error reading file at 684 got 173, want 0.
	punch_test.go:51: 2. error reading file at 685 got 175, want 0.
	punch_test.go:51: 2. error reading file at 686 got 175, want 0.
	punch_test.go:51: 2. error reading file at 687 got 177, want 0.
	punch_test.go:51: 2. error reading file at 688 got 177, want 0.
	punch_test.go:51: 2. error reading file at 689 got 179, want 0.
	punch_test.go:51: 2. error reading file at 690 got 179, want 0.
	punch_test.go:51: 2. error reading file at 691 got 181, want 0.
	punch_test.go:51: 2. error reading file at 692 got 181, want 0.
	punch_test.go:51: 2. error reading file at 693 got 183, want 0.
	punch_test.go:51: 2. error reading file at 694 got 183, want 0.
	punch_test.go:51: 2. error reading file at 695 got 185, want 0.
	punch_test.go:51: 2. error reading file at 696 got 185, want 0.
	punch_test.go:51: 2. error reading file at 697 got 187, want 0.
	punch_test.go:51: 2. error reading file at 698 got 187, want 0.
	punch_test.go:51: 2. error reading file at 699 got 189, want 0.
	punch_test.go:51: 2. error reading file at 700 got 189, want 0.
	punch_test.go:51: 2. error reading file at 701 got 191, want 0.
	punch_test.go:51: 2. error reading file at 702 got 191, want 0.
	punch_test.go:51: 2. error reading file at 703 got 193, want 0.
	punch_test.go:51: 2. error reading file at 704 got 193, want 0.
	punch_test.go:51: 2. error reading file at 705 got 195, want 0.
	punch_test.go:51: 2. error reading file at 706 got 195, want 0.
	punch_test.go:51: 2. error reading file at 707 got 197, want 0.
	punch_test.go:51: 2. error reading file at 708 got 197, want 0.
	punch_test.go:51: 2. error reading file at 709 got 199, want 0.
	punch_test.go:51: 2. error reading file at 710 got 199, want 0.
	punch_test.go:51: 2. error reading file at 711 got 201, want 0.
	punch_test.go:51: 2. error reading file at 712 got 201, want 0.
	punch_test.go:51: 2. error reading file at 713 got 203, want 0.
	punch_test.go:51: 2. error reading file at 714 got 203, want 0.
	punch_test.go:51: 2. error reading file at 715 got 205, want 0.
	punch_test.go:51: 2. error reading file at 716 got 205, want 0.
	punch_test.go:51: 2. error reading file at 717 got 207, want 0.
	punch_test.go:51: 2. error reading file at 718 got 207, want 0.
	punch_test.go:51: 2. error reading file at 719 got 209, want 0.
	punch_test.go:51: 2. error reading file at 720 got 209, want 0.
	punch_test.go:51: 2. error reading file at 721 got 211, want 0.
	punch_test.go:51: 2. error reading file at 722 got 211, want 0.
	punch_test.go:51: 2. error reading file at 723 got 213, want 0.
	punch_test.go:51: 2. error reading file at 724 got 213, want 0.
	punch_test.go:51: 2. error reading file at 725 got 215, want 0.
	punch_test.go:51: 2. error reading file at 726 got 215, want 0.
	punch_test.go:51: 2. error reading file at 727 got 217, want 0.
	punch_test.go:51: 2. error reading file at 728 got 217, want 0.
	punch_test.go:51: 2. error reading file at 729 got 219, want 0.
	punch_test.go:51: 2. error reading file at 730 got 219, want 0.
	punch_test.go:51: 2. error reading file at 731 got 221, want 0.
	punch_test.go:51: 2. error reading file at 732 got 221, want 0.
	punch_test.go:51: 2. error reading file at 733 got 223, want 0.
	punch_test.go:51: 2. error reading file at 734 got 223, want 0.
	punch_test.go:51: 2. error reading file at 735 got 225, want 0.
	punch_test.go:51: 2. error reading file at 736 got 225, want 0.
	punch_test.go:51: 2. error reading file at 737 got 227, want 0.
	punch_test.go:51: 2. error reading file at 738 got 227, want 0.
	punch_test.go:51: 2. error reading file at 739 got 229, want 0.
	punch_test.go:51: 2. error reading file at 740 got 229, want 0.
	punch_test.go:51: 2. error reading file at 741 got 231, want 0.
	punch_test.go:51: 2. error reading file at 742 got 231, want 0.
	punch_test.go:51: 2. error reading file at 743 got 233, want 0.
	punch_test.go:51: 2. error reading file at 744 got 233, want 0.
	punch_test.go:51: 2. error reading file at 745 got 235, want 0.
	punch_test.go:51: 2. error reading file at 746 got 235, want 0.
	punch_test.go:51: 2. error reading file at 747 got 237, want 0.
	punch_test.go:51: 2. error reading file at 748 got 237, want 0.
	punch_test.go:51: 2. error reading file at 749 got 239, want 0.
	punch_test.go:51: 2. error reading file at 750 got 239, want 0.
	punch_test.go:51: 2. error reading file at 751 got 241, want 0.
	punch_test.go:51: 2. error reading file at 752 got 241, want 0.
	punch_test.go:51: 2. error reading file at 753 got 243, want 0.
	punch_test.go:51: 2. error reading file at 754 got 243, want 0.
	punch_test.go:51: 2. error reading file at 755 got 245, want 0.
	punch_test.go:51: 2. error reading file at 756 got 245, want 0.
	punch_test.go:51: 2. error reading file at 757 got 247, want 0.
	punch_test.go:51: 2. error reading file at 758 got 247, want 0.
	punch_test.go:51: 2. error reading file at 759 got 249, want 0.
	punch_test.go:51: 2. error reading file at 760 got 249, want 0.
	punch_test.go:51: 2. error reading file at 761 got 251, want 0.
	punch_test.go:51: 2. error reading file at 762 got 251, want 0.
	punch_test.go:51: 2. error reading file at 763 got 253, want 0.
	punch_test.go:51: 2. error reading file at 764 got 253, want 0.
	punch_test.go:51: 2. error reading file at 765 got 255, want 0.
	punch_test.go:51: 2. error reading file at 766 got 255, want 0.
	punch_test.go:51: 2. error reading file at 767 got 1, want 0.
	punch_test.go:51: 2. error reading file at 768 got 1, want 0.
	punch_test.go:51: 2. error reading file at 769 got 3, want 0.
	punch_test.go:51: 2. error reading file at 770 got 3, want 0.
	punch_test.go:51: 2. error reading file at 771 got 5, want 0.
	punch_test.go:51: 2. error reading file at 772 got 5, want 0.
	punch_test.go:51: 2. error reading file at 773 got 7, want 0.
	punch_test.go:51: 2. error reading file at 774 got 7, want 0.
	punch_test.go:51: 2. error reading file at 775 got 9, want 0.
	punch_test.go:51: 2. error reading file at 776 got 9, want 0.
	punch_test.go:51: 2. error reading file at 777 got 11, want 0.
	punch_test.go:51: 2. error reading file at 778 got 11, want 0.
	punch_test.go:51: 2. error reading file at 779 got 13, want 0.
	punch_test.go:51: 2. error reading file at 780 got 13, want 0.
	punch_test.go:51: 2. error reading file at 781 got 15, want 0.
	punch_test.go:51: 2. error reading file at 782 got 15, want 0.
	punch_test.go:51: 2. error reading file at 783 got 17, want 0.
	punch_test.go:51: 2. error reading file at 784 got 17, want 0.
	punch_test.go:51: 2. error reading file at 785 got 19, want 0.
	punch_test.go:51: 2. error reading file at 786 got 19, want 0.
	punch_test.go:51: 2. error reading file at 787 got 21, want 0.
	punch_test.go:51: 2. error reading file at 788 got 21, want 0.
	punch_test.go:51: 2. error reading file at 789 got 23, want 0.
	punch_test.go:51: 2. error reading file at 790 got 23, want 0.
	punch_test.go:51: 2. error reading file at 791 got 25, want 0.
	punch_test.go:51: 2. error reading file at 792 got 25, want 0.
	punch_test.go:51: 2. error reading file at 793 got 27, want 0.
	punch_test.go:51: 2. error reading file at 794 got 27, want 0.
	punch_test.go:51: 2. error reading file at 795 got 29, want 0.
	punch_test.go:51: 2. error reading file at 796 got 29, want 0.
	punch_test.go:51: 2. error reading file at 797 got 31, want 0.
	punch_test.go:51: 2. error reading file at 798 got 31, want 0.
	punch_test.go:51: 2. error reading file at 799 got 33, want 0.
	punch_test.go:51: 2. error reading file at 800 got 33, want 0.
	punch_test.go:51: 2. error reading file at 801 got 35, want 0.
	punch_test.go:51: 2. error reading file at 802 got 35, want 0.
	punch_test.go:51: 2. error reading file at 803 got 37, want 0.
	punch_test.go:51: 2. error reading file at 804 got 37, want 0.
	punch_test.go:51: 2. error reading file at 805 got 39, want 0.
	punch_test.go:51: 2. error reading file at 806 got 39, want 0.
	punch_test.go:51: 2. error reading file at 807 got 41, want 0.
	punch_test.go:51: 2. error reading file at 808 got 41, want 0.
	punch_test.go:51: 2. error reading file at 809 got 43, want 0.
	punch_test.go:51: 2. error reading file at 810 got 43, want 0.
	punch_test.go:51: 2. error reading file at 811 got 45, want 0.
	punch_test.go:51: 2. error reading file at 812 got 45, want 0.
	punch_test.go:51: 2. error reading file at 813 got 47, want 0.
	punch_test.go:51: 2. error reading file at 814 got 47, want 0.
	punch_test.go:51: 2. error reading file at 815 got 49, want 0.
	punch_test.go:51: 2. error reading file at 816 got 49, want 0.
	punch_test.go:51: 2. error reading file at 817 got 51, want 0.
	punch_test.go:51: 2. error reading file at 818 got 51, want 0.
	punch_test.go:51: 2. error reading file at 819 got 53, want 0.
	punch_test.go:51: 2. error reading file at 820 got 53, want 0.
	punch_test.go:51: 2. error reading file at 821 got 55, want 0.
	punch_test.go:51: 2. error reading file at 822 got 55, want 0.
	punch_test.go:51: 2. error reading file at 823 got 57, want 0.
	punch_test.go:51: 2. error reading file at 824 got 57, want 0.
	punch_test.go:51: 2. error reading file at 825 got 59, want 0.
	punch_test.go:51: 2. error reading file at 826 got 59, want 0.
	punch_test.go:51: 2. error reading file at 827 got 61, want 0.
	punch_test.go:51: 2. error reading file at 828 got 61, want 0.
	punch_test.go:51: 2. error reading file at 829 got 63, want 0.
	punch_test.go:51: 2. error reading file at 830 got 63, want 0.
	punch_test.go:51: 2. error reading file at 831 got 65, want 0.
	punch_test.go:51: 2. error reading file at 832 got 65, want 0.
	punch_test.go:51: 2. error reading file at 833 got 67, want 0.
	punch_test.go:51: 2. error reading file at 834 got 67, want 0.
	punch_test.go:51: 2. error reading file at 835 got 69, want 0.
	punch_test.go:51: 2. error reading file at 836 got 69, want 0.
	punch_test.go:51: 2. error reading file at 837 got 71, want 0.
	punch_test.go:51: 2. error reading file at 838 got 71, want 0.
	punch_test.go:51: 2. error reading file at 839 got 73, want 0.
	punch_test.go:51: 2. error reading file at 840 got 73, want 0.
	punch_test.go:51: 2. error reading file at 841 got 75, want 0.
	punch_test.go:51: 2. error reading file at 842 got 75, want 0.
	punch_test.go:51: 2. error reading file at 843 got 77, want 0.
	punch_test.go:51: 2. error reading file at 844 got 77, want 0.
	punch_test.go:51: 2. error reading file at 845 got 79, want 0.
	punch_test.go:51: 2. error reading file at 846 got 79, want 0.
	punch_test.go:51: 2. error reading file at 847 got 81, want 0.
	punch_test.go:51: 2. error reading file at 848 got 81, want 0.
	punch_test.go:51: 2. error reading file at 849 got 83, want 0.
	punch_test.go:51: 2. error reading file at 850 got 83, want 0.
	punch_test.go:51: 2. error reading file at 851 got 85, want 0.
	punch_test.go:51: 2. error reading file at 852 got 85, want 0.
	punch_test.go:51: 2. error reading file at 853 got 87, want 0.
	punch_test.go:51: 2. error reading file at 854 got 87, want 0.
	punch_test.go:51: 2. error reading file at 855 got 89, want 0.
	punch_test.go:51: 2. error reading file at 856 got 89, want 0.
	punch_test.go:51: 2. error reading file at 857 got 91, want 0.
	punch_test.go:51: 2. error reading file at 858 got 91, want 0.
	punch_test.go:51: 2. error reading file at 859 got 93, want 0.
	punch_test.go:51: 2. error reading file at 860 got 93, want 0.
	punch_test.go:51: 2. error reading file at 861 got 95, want 0.
	punch_test.go:51: 2. error reading file at 862 got 95, want 0.
	punch_test.go:51: 2. error reading file at 863 got 97, want 0.
	punch_test.go:51: 2. error reading file at 864 got 97, want 0.
	punch_test.go:51: 2. error reading file at 865 got 99, want 0.
	punch_test.go:51: 2. error reading file at 866 got 99, want 0.
	punch_test.go:51: 2. error reading file at 867 got 101, want 0.
	punch_test.go:51: 2. error reading file at 868 got 101, want 0.
	punch_test.go:51: 2. error reading file at 869 got 103, want 0.
	punch_test.go:51: 2. error reading file at 870 got 103, want 0.
	punch_test.go:51: 2. error reading file at 871 got 105, want 0.
	punch_test.go:51: 2. error reading file at 872 got 105, want 0.
	punch_test.go:51: 2. error reading file at 873 got 107, want 0.
	punch_test.go:51: 2. error reading file at 874 got 107, want 0.
	punch_test.go:51: 2. error reading file at 875 got 109, want 0.
	punch_test.go:51: 2. error reading file at 876 got 109, want 0.
	punch_test.go:51: 2. error reading file at 877 got 111, want 0.
	punch_test.go:51: 2. error reading file at 878 got 111, want 0.
	punch_test.go:51: 2. error reading file at 879 got 113, want 0.
	punch_test.go:51: 2. error reading file at 880 got 113, want 0.
	punch_test.go:51: 2. error reading file at 881 got 115, want 0.
	punch_test.go:51: 2. error reading file at 882 got 115, want 0.
	punch_test.go:51: 2. error reading file at 883 got 117, want 0.
	punch_test.go:51: 2. error reading file at 884 got 117, want 0.
	punch_test.go:51: 2. error reading file at 885 got 119, want 0.
	punch_test.go:51: 2. error reading file at 886 got 119, want 0.
	punch_test.go:51: 2. error reading file at 887 got 121, want 0.
	punch_test.go:51: 2. error reading file at 888 got 121, want 0.
	punch_test.go:51: 2. error reading file at 889 got 123, want 0.
	punch_test.go:51: 2. error reading file at 890 got 123, want 0.
	punch_test.go:51: 2. error reading file at 891 got 125, want 0.
	punch_test.go:51: 2. error reading file at 892 got 125, want 0.
	punch_test.go:51: 2. error reading file at 893 got 127, want 0.
	punch_test.go:51: 2. error reading file at 894 got 127, want 0.
	punch_test.go:51: 2. error reading file at 895 got 129, want 0.
	punch_test.go:51: 2. error reading file at 896 got 129, want 0.
	punch_test.go:51: 2. error reading file at 897 got 131, want 0.
	punch_test.go:51: 2. error reading file at 898 got 131, want 0.
	punch_test.go:51: 2. error reading file at 899 got 133, want 0.
	punch_test.go:51: 2. error reading file at 900 got 133, want 0.
	punch_test.go:51: 2. error reading file at 901 got 135, want 0.
	punch_test.go:51: 2. error reading file at 902 got 135, want 0.
	punch_test.go:51: 2. error reading file at 903 got 137, want 0.
	punch_test.go:51: 2. error reading file at 904 got 137, want 0.
	punch_test.go:51: 2. error reading file at 905 got 139, want 0.
	punch_test.go:51: 2. error reading file at 906 got 139, want 0.
	punch_test.go:51: 2. error reading file at 907 got 141, want 0.
	punch_test.go:51: 2. error reading file at 908 got 141, want 0.
	punch_test.go:51: 2. error reading file at 909 got 143, want 0.
	punch_test.go:51: 2. error reading file at 910 got 143, want 0.
	punch_test.go:51: 2. error reading file at 911 got 145, want 0.
	punch_test.go:51: 2. error reading file at 912 got 145, want 0.
	punch_test.go:51: 2. error reading file at 913 got 147, want 0.
	punch_test.go:51: 2. error reading file at 914 got 147, want 0.
	punch_test.go:51: 2. error reading file at 915 got 149, want 0.
	punch_test.go:51: 2. error reading file at 916 got 149, want 0.
	punch_test.go:51: 2. error reading file at 917 got 151, want 0.
	punch_test.go:51: 2. error reading file at 918 got 151, want 0.
	punch_test.go:51: 2. error reading file at 919 got 153, want 0.
	punch_test.go:51: 2. error reading file at 920 got 153, want 0.
	punch_test.go:51: 2. error reading file at 921 got 155, want 0.
	punch_test.go:51: 2. error reading file at 922 got 155, want 0.
	punch_test.go:51: 2. error reading file at 923 got 157, want 0.
	punch_test.go:51: 2. error reading file at 924 got 157, want 0.
	punch_test.go:51: 2. error reading file at 925 got 159, want 0.
	punch_test.go:51: 2. error reading file at 926 got 159, want 0.
	punch_test.go:51: 2. error reading file at 927 got 161, want 0.
	punch_test.go:51: 2. error reading file at 928 got 161, want 0.
	punch_test.go:51: 2. error reading file at 929 got 163, want 0.
	punch_test.go:51: 2. error reading file at 930 got 163, want 0.
	punch_test.go:51: 2. error reading file at 931 got 165, want 0.
	punch_test.go:51: 2. error reading file at 932 got 165, want 0.
	punch_test.go:51: 2. error reading file at 933 got 167, want 0.
	punch_test.go:51: 2. error reading file at 934 got 167, want 0.
	punch_test.go:51: 2. error reading file at 935 got 169, want 0.
	punch_test.go:51: 2. error reading file at 936 got 169, want 0.
	punch_test.go:51: 2. error reading file at 937 got 171, want 0.
	punch_test.go:51: 2. error reading file at 938 got 171, want 0.
	punch_test.go:51: 2. error reading file at 939 got 173, want 0.
	punch_test.go:51: 2. error reading file at 940 got 173, want 0.
	punch_test.go:51: 2. error reading file at 941 got 175, want 0.
	punch_test.go:51: 2. error reading file at 942 got 175, want 0.
	punch_test.go:51: 2. error reading file at 943 got 177, want 0.
	punch_test.go:51: 2. error reading file at 944 got 177, want 0.
	punch_test.go:51: 2. error reading file at 945 got 179, want 0.
	punch_test.go:51: 2. error reading file at 946 got 179, want 0.
	punch_test.go:51: 2. error reading file at 947 got 181, want 0.
	punch_test.go:51: 2. error reading file at 948 got 181, want 0.
	punch_test.go:51: 2. error reading file at 949 got 183, want 0.
	punch_test.go:51: 2. error reading file at 950 got 183, want 0.
	punch_test.go:51: 2. error reading file at 951 got 185, want 0.
	punch_test.go:51: 2. error reading file at 952 got 185, want 0.
	punch_test.go:51: 2. error reading file at 953 got 187, want 0.
	punch_test.go:51: 2. error reading file at 954 got 187, want 0.
	punch_test.go:51: 2. error reading file at 955 got 189, want 0.
	punch_test.go:51: 2. error reading file at 956 got 189, want 0.
	punch_test.go:51: 2. error reading file at 957 got 191, want 0.
	punch_test.go:51: 2. error reading file at 958 got 191, want 0.
	punch_test.go:51: 2. error reading file at 959 got 193, want 0.
	punch_test.go:51: 2. error reading file at 960 got 193, want 0.
	punch_test.go:51: 2. error reading file at 961 got 195, want 0.
	punch_test.go:51: 2. error reading file at 962 got 195, want 0.
	punch_test.go:51: 2. error reading file at 963 got 197, want 0.
	punch_test.go:51: 2. error reading file at 964 got 197, want 0.
	punch_test.go:51: 2. error reading file at 965 got 199, want 0.
	punch_test.go:51: 2. error reading file at 966 got 199, want 0.
	punch_test.go:51: 2. error reading file at 967 got 201, want 0.
	punch_test.go:51: 2. error reading file at 968 got 201, want 0.
	punch_test.go:51: 2. error reading file at 969 got 203, want 0.
	punch_test.go:51: 2. error reading file at 970 got 203, want 0.
	punch_test.go:51: 2. error reading file at 971 got 205, want 0.
	punch_test.go:51: 2. error reading file at 972 got 205, want 0.
	punch_test.go:51: 2. error reading file at 973 got 207, want 0.
	punch_test.go:51: 2. error reading file at 974 got 207, want 0.
	punch_test.go:51: 2. error reading file at 975 got 209, want 0.
	punch_test.go:51: 2. error reading file at 976 got 209, want 0.
	punch_test.go:51: 2. error reading file at 977 got 211, want 0.
	punch_test.go:51: 2. error reading file at 978 got 211, want 0.
	punch_test.go:51: 2. error reading file at 979 got 213, want 0.
	punch_test.go:51: 2. error reading file at 980 got 213, want 0.
	punch_test.go:51: 2. error reading file at 981 got 215, want 0.
	punch_test.go:51: 2. error reading file at 982 got 215, want 0.
	punch_test.go:51: 2. error reading file at 983 got 217, want 0.
	punch_test.go:51: 2. error reading file at 984 got 217, want 0.
	punch_test.go:51: 2. error reading file at 985 got 219, want 0.
	punch_test.go:51: 2. error reading file at 986 got 219, want 0.
	punch_test.go:51: 2. error reading file at 987 got 221, want 0.
	punch_test.go:51: 2. error reading file at 988 got 221, want 0.
	punch_test.go:51: 2. error reading file at 989 got 223, want 0.
	punch_test.go:51: 2. error reading file at 990 got 223, want 0.
	punch_test.go:51: 2. error reading file at 991 got 225, want 0.
	punch_test.go:51: 2. error reading file at 992 got 225, want 0.
	punch_test.go:51: 2. error reading file at 993 got 227, want 0.
	punch_test.go:51: 2. error reading file at 994 got 227, want 0.
	punch_test.go:51: 2. error reading file at 995 got 229, want 0.
	punch_test.go:51: 2. error reading file at 996 got 229, want 0.
	punch_test.go:51: 2. error reading file at 997 got 231, want 0.
	punch_test.go:51: 2. error reading file at 998 got 231, want 0.
	punch_test.go:51: 2. error reading file at 999 got 233, want 0.
	punch_test.go:51: 2. error reading file at 1000 got 233, want 0.
	punch_test.go:51: 2. error reading file at 1001 got 235, want 0.
	punch_test.go:51: 2. error reading file at 1002 got 235, want 0.
	punch_test.go:51: 2. error reading file at 1003 got 237, want 0.
	punch_test.go:51: 2. error reading file at 1004 got 237, want 0.
	punch_test.go:51: 2. error reading file at 1005 got 239, want 0.
	punch_test.go:51: 2. error reading file at 1006 got 239, want 0.
	punch_test.go:51: 2. error reading file at 1007 got 241, want 0.
	punch_test.go:51: 2. error reading file at 1008 got 241, want 0.
	punch_test.go:51: 2. error reading file at 1009 got 243, want 0.
	punch_test.go:51: 2. error reading file at 1010 got 243, want 0.
	punch_test.go:51: 2. error reading file at 1011 got 245, want 0.
	punch_test.go:51: 2. error reading file at 1012 got 245, want 0.
	punch_test.go:51: 2. error reading file at 1013 got 247, want 0.
	punch_test.go:51: 2. error reading file at 1014 got 247, want 0.
	punch_test.go:51: 2. error reading file at 1015 got 249, want 0.
	punch_test.go:51: 2. error reading file at 1016 got 249, want 0.
	punch_test.go:51: 2. error reading file at 1017 got 251, want 0.
	punch_test.go:51: 2. error reading file at 1018 got 251, want 0.
	punch_test.go:51: 2. error reading file at 1019 got 253, want 0.
	punch_test.go:51: 2. error reading file at 1020 got 253, want 0.
	punch_test.go:51: 2. error reading file at 1021 got 255, want 0.
	punch_test.go:51: 2. error reading file at 1022 got 255, want 0.
	punch_test.go:51: 2. error reading file at 1023 got 1, want 0.
FAIL
FAIL	github.com/cznic/fileutil	0.360s

linux osrelease = 2.6.32-279.el6.x86_64 error

hello, my linux run error

$ cat /proc/sys/kernel/osrelease
2.6.32-279.el6.x86_64

so, the fileutil_linux.go is run error, the tokens >3

func init() {
    b, err := ioutil.ReadFile("/proc/sys/kernel/osrelease")
    if err != nil {
        panic(err)
    }

    tokens := bytes.Split(b, []byte("."))
    switch len(tokens) {
    case 3:
        // Supported since kernel 2.6.38
        if bytes.Compare([]byte{n(tokens[0]), n(tokens[1]), n(tokens[2])}, []byte{2, 6, 38}) < 0 {
            puncher = func(*os.File, int64, int64) error { return nil }
        }
    case 2:
        if bytes.Compare([]byte{n(tokens[0]), n(tokens[1])}, []byte{2, 7}) < 0 {
            puncher = func(*os.File, int64, int64) error { return nil }
        }
    default:
        panic(n)
    }
}

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.