Commit 12c92dee authored by 董子豪's avatar 董子豪

add test

parent 3a0969bc
......@@ -19,11 +19,15 @@ import(
const minerID = 1000
func TestSealAndWindowPoSt(sectorSize abi.SectorSize, numAggregate int) error {
sdir, err := homedir.Expand("~/tmp/bench")
sdir, err := homedir.Expand("~/dzh/bench")
if err != nil {
return err
}
if err := os.MkdirAll(sdir, 0775); err != nil {
return err
}
tsdir, err := ioutil.TempDir(sdir, "bench")
if err != nil {
return err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment