mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-01 15:57:20 +00:00
genpolicy: move policy enforcement integration test to separate folder
In preparation for adding more types of integration tests, moving the policy enforcements test into a separate folder. Signed-off-by: Leonard Cohnen <leonard.cohnen@gmail.com> Signed-off-by: Markus Rudy <mr@edgeless.systems>
This commit is contained in:
parent
2ea57aefbc
commit
61ee330029
@ -68,7 +68,7 @@ mod tests {
|
||||
.expect("should be able to create directories under CARGO_TARGET_TMPDIR");
|
||||
|
||||
let testdata_dir = path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("tests/testdata")
|
||||
.join("tests/policy/testdata")
|
||||
.join(test_case_dir);
|
||||
fs::copy(testdata_dir.join("pod.yaml"), workdir.join("pod.yaml"))
|
||||
.expect("copying files around should not fail");
|
Loading…
Reference in New Issue
Block a user