]> Cypherpunks repositories - gostls13.git/commit
os: cleanup directories created by TestLongPath
authorMohit Agarwal <mohit@sdf.org>
Tue, 8 Nov 2016 12:16:10 +0000 (17:46 +0530)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Nov 2016 15:41:59 +0000 (15:41 +0000)
commit3a3f672eda6f720f68950492a85254528ac53dad
treeea7f511b03b5fa5eabbbfb75b3ea3c381256ee12
parent8a2a999311c22079c3b9f2e6fac2bbd38435a7ab
os: cleanup directories created by TestLongPath

Add tmpdir as a parameter to the closure otherwise the subsequent
modifications to tmpdir causes only the last subdirectory to be
removed.

Additionally, add the missing argument for the t.Fatalf call.

Change-Id: I3df53f9051f7ea40cf3f846d47d9cefe445e9b9d
Reviewed-on: https://go-review.googlesource.com/32892
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/os_test.go