prepare play

This commit is contained in:
2021-05-25 12:49:51 +08:00
parent 29b9b22759
commit b7e1c757f6
5 changed files with 277 additions and 25 deletions

View File

@@ -0,0 +1,12 @@
package tmpfs
import "testing"
func TestTmpfs(t *testing.T) {
t.Log("Starting ...")
tmpfs := NewTmpfs()
tmpfs.FileLifeTime = 1
tmpfs.Record("/tmp/testfile")
t.Log(tmpfs.record)
tmpfs.wg.Wait()
}