mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
crosvm: Fix chromeos testing with jail path
See crrev/c/3824062/comments/a45b3474_7fe9a571 TEST=FEATURES=test emerge-trogdor chromeos-base/crosvm BUG=b:235858187 Change-Id: I48ae7b3e5eb992c8fc92c3876d551092f89aebc8 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3885232 Reviewed-by: David Stevens <stevensd@chromium.org> Commit-Queue: David Stevens <stevensd@chromium.org> Auto-Submit: Zihan Chen <zihanchen@google.com>
This commit is contained in:
parent
b2b11c32e5
commit
96063533ba
1 changed files with 3 additions and 1 deletions
|
@ -2166,7 +2166,9 @@ mod tests {
|
|||
config,
|
||||
JailConfig {
|
||||
pivot_root: jail_config_default_pivot_root(),
|
||||
#[cfg(unix)]
|
||||
#[cfg(feature = "chromeos")]
|
||||
seccomp_policy_dir: Some(PathBuf::from(SECCOMP_POLICY_DIR)),
|
||||
#[cfg(all(unix, not(feature = "chromeos")))]
|
||||
seccomp_policy_dir: None,
|
||||
seccomp_log_failures: false,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue