diff --git a/tests/CapsuleTest.pm b/tests/CapsuleTest.pm
index 236d44d26bc822fc04e89a408d308971339d2c56..4d2893136b423f75c46e37d937c311764024f17e 100644
--- a/tests/CapsuleTest.pm
+++ b/tests/CapsuleTest.pm
@@ -275,7 +275,7 @@ skipped (as if via C<plan skip_all =E<gt> ...>), and exit.
 
 sub skip_all_unless_bwrap {
     if (! run([qw(
-                bwrap --ro-bind / / --unshare-ipc --unshare-net
+                env bwrap --ro-bind / / --unshare-ipc --unshare-net
                 --unshare-pid --unshare-user --unshare-uts true
             )], '>&2')) {
         plan(skip_all => 'Cannot run bwrap');