summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/fs/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmarks/fs/fs.go')
-rw-r--r--test/benchmarks/fs/fs.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/benchmarks/fs/fs.go b/test/benchmarks/fs/fs.go
index 27eb6c56a..e5ca28c3b 100644
--- a/test/benchmarks/fs/fs.go
+++ b/test/benchmarks/fs/fs.go
@@ -14,3 +14,18 @@
// Package fs holds benchmarks around filesystem performance.
package fs
+
+import (
+ "os"
+ "testing"
+
+ "gvisor.dev/gvisor/test/benchmarks/harness"
+)
+
+var h harness.Harness
+
+// TestMain is the main method for package fs.
+func TestMain(m *testing.M) {
+ h.Init()
+ os.Exit(m.Run())
+}