diff options
author | Fumitoshi Ukai <ukai@google.com> | 2015-08-11 17:50:56 +0900 |
---|---|---|
committer | Fumitoshi Ukai <ukai@google.com> | 2015-08-11 17:53:21 +0900 |
commit | 2c6eff6ea834bd2c81974edc9b07fef8c1abb06a (patch) | |
tree | 41934eb7882714b932a5e0ed11f1ed319e85ed89 /pathutil_test.go | |
parent | 59956606c56b1ffc79eca2c85701bce1bca027d2 (diff) | |
download | kati-2c6eff6ea834bd2c81974edc9b07fef8c1abb06a.tar.gz |
[go] fix find_command.mk - "cd xxx && find ."
Diffstat (limited to 'pathutil_test.go')
-rw-r--r-- | pathutil_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pathutil_test.go b/pathutil_test.go index d64bb65..33b7e32 100644 --- a/pathutil_test.go +++ b/pathutil_test.go @@ -142,6 +142,10 @@ func TestFilepathClean(t *testing.T) { } func TestParseFindCommand(t *testing.T) { + fs := newFS() + defer fs.close() + fs.add(fs.dir, "testdir") + maxdepth := 1<<31 - 1 for _, tc := range []struct { cmd string |