prepare play
This commit is contained in:
12
internal/pkg/tmpfs/tmpfs_test.go
Normal file
12
internal/pkg/tmpfs/tmpfs_test.go
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user