diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-06-01 23:01:35 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-01 23:03:20 -0700 |
commit | 4b5eae39f201ffbe7f4a0e08a28380099469efe8 (patch) | |
tree | d37678e2803dc8da5170c58b53a9b98e1da866a0 /test/runner/runner.go | |
parent | ca5912d13c63dcaff72bf6eb6d49bde8fc4e3f73 (diff) |
Enable VFS2 to runsc syscall tests
Updates #1487
PiperOrigin-RevId: 314271995
Diffstat (limited to 'test/runner/runner.go')
-rw-r--r-- | test/runner/runner.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/runner/runner.go b/test/runner/runner.go index e048e5a9c..948e3a8ef 100644 --- a/test/runner/runner.go +++ b/test/runner/runner.go @@ -46,6 +46,7 @@ var ( useTmpfs = flag.Bool("use-tmpfs", false, "mounts tmpfs for /tmp") fileAccess = flag.String("file-access", "exclusive", "mounts root in exclusive or shared mode") overlay = flag.Bool("overlay", false, "wrap filesystem mounts with writable tmpfs overlay") + vfs2 = flag.Bool("vfs2", false, "enable VFS2") parallel = flag.Bool("parallel", false, "run tests in parallel") runscPath = flag.String("runsc", "", "path to runsc binary") @@ -146,6 +147,9 @@ func runRunsc(tc gtest.TestCase, spec *specs.Spec) error { if *overlay { args = append(args, "-overlay") } + if *vfs2 { + args = append(args, "-vfs2") + } if *debug { args = append(args, "-debug", "-log-packets=true") } |