Skip to content

Commit 0c29d8e

Browse files
authored
test(conformance): migrate file transfer scenarios (#3597)
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent c63f8ce commit 0c29d8e

8 files changed

Lines changed: 741 additions & 647 deletions

File tree

‎architecture/build.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ for explicit publication.
270270

271271
CLI conformance runs after target provisioning and operates only through the
272272
configured OpenShell CLI. The smoke scenario verifies the black-box sandbox
273-
lifecycle by creating, inspecting, executing in, and deleting a sandbox.
273+
lifecycle by creating, inspecting, executing in, and deleting a sandbox. The
274+
file-transfer scenario verifies portable upload and download behavior, Git-aware
275+
filtering, and sandbox workspace path safety.
274276
Feature suites use the same disposable guest but may provision isolated
275277
dependencies after installation. The Keycloak provider-refresh suite starts a
276278
guest-local Keycloak realm and verifies a successful OAuth refresh followed by

‎crates/openshell-conformance/src/lib.rs‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ use tokio::time::sleep;
2424
use self::executor::{CliExecutionError, CliExecutor, ProcessCli};
2525

2626
pub use scenarios::{
27-
MECHANISTIC_PROPOSAL_SCENARIO, NEW_HOSTNAME_PROPOSAL_SCENARIO, POLICY_LOCAL_SCENARIO,
28-
SANDBOX_LIFECYCLE_SCENARIO, SMOKE_SCENARIO,
27+
FILE_TRANSFER_GIT_FILTERING_SCENARIO, FILE_TRANSFER_PATH_SAFETY_SCENARIO,
28+
FILE_TRANSFER_ROUND_TRIP_SCENARIO, FILE_TRANSFER_SCENARIO, MECHANISTIC_PROPOSAL_SCENARIO,
29+
NEW_HOSTNAME_PROPOSAL_SCENARIO, POLICY_LOCAL_SCENARIO, SANDBOX_LIFECYCLE_SCENARIO,
30+
SMOKE_SCENARIO,
2931
};
3032

3133
/// An installed conformance scenario.
@@ -47,6 +49,7 @@ impl Scenario {
4749
const SCENARIOS: &[Scenario] = &[
4850
SMOKE_SCENARIO,
4951
SANDBOX_LIFECYCLE_SCENARIO,
52+
FILE_TRANSFER_SCENARIO,
5053
MECHANISTIC_PROPOSAL_SCENARIO,
5154
NEW_HOSTNAME_PROPOSAL_SCENARIO,
5255
POLICY_LOCAL_SCENARIO,

0 commit comments

Comments
 (0)