summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ext/ext_test.go
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2019-07-30 18:19:15 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-30 18:20:31 -0700
commit9fbe984dc13f1af42bf3a73b696f7358794dd2d4 (patch)
tree089db3c84929653a1e4eff8ace94b83bce30a339 /pkg/sentry/fs/ext/ext_test.go
parent885e17f890d1d7c559871f720c40cef5cad69bc2 (diff)
ext: block map file reader implementation.
Also adds stress tests for block map reader and intensifies extent reader tests. PiperOrigin-RevId: 260838177
Diffstat (limited to 'pkg/sentry/fs/ext/ext_test.go')
-rw-r--r--pkg/sentry/fs/ext/ext_test.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/sentry/fs/ext/ext_test.go b/pkg/sentry/fs/ext/ext_test.go
index 18764e92a..6396886cc 100644
--- a/pkg/sentry/fs/ext/ext_test.go
+++ b/pkg/sentry/fs/ext/ext_test.go
@@ -41,18 +41,6 @@ var (
ext4ImagePath = path.Join(assetsDir, "tiny.ext4")
)
-func beginning(_ uint64) uint64 {
- return 0
-}
-
-func middle(i uint64) uint64 {
- return i / 2
-}
-
-func end(i uint64) uint64 {
- return i
-}
-
// setUp opens imagePath as an ext Filesystem and returns all necessary
// elements required to run tests. If error is non-nil, it also returns a tear
// down function which must be called after the test is run for clean up.