@@ -143,7 +143,7 @@ func (test lookPathTest) run(t *testing.T, tmpdir, printpathExe string) {
143
143
if errCmd == nil && errLP == nil {
144
144
// both succeeded
145
145
if should != have {
146
- t .Fatalf ("test=%+v failed: expected to find %q, but found %q " , test , should , have )
146
+ t .Fatalf ("test=%+v: \n cmd /c ran: %s \n lookpath found: %s " , test , should , have )
147
147
}
148
148
return
149
149
}
@@ -316,12 +316,17 @@ func TestLookPath(t *testing.T) {
316
316
317
317
// Run all tests.
318
318
for i , test := range lookPathTests {
319
- dir := filepath .Join (tmp , "d" + strconv .Itoa (i ))
320
- err := os .Mkdir (dir , 0700 )
321
- if err != nil {
322
- t .Fatal ("Mkdir failed: " , err )
323
- }
324
- test .run (t , dir , printpathExe )
319
+ t .Run (fmt .Sprint (i ), func (t * testing.T ) {
320
+ if i == 16 {
321
+ t .Skip ("golang.org/issue/44379" )
322
+ }
323
+ dir := filepath .Join (tmp , "d" + strconv .Itoa (i ))
324
+ err := os .Mkdir (dir , 0700 )
325
+ if err != nil {
326
+ t .Fatal ("Mkdir failed: " , err )
327
+ }
328
+ test .run (t , dir , printpathExe )
329
+ })
325
330
}
326
331
}
327
332
0 commit comments