From 72becfcfefa01806394ddaf9902371f9c5234253 Mon Sep 17 00:00:00 2001 From: Privacy Sandbox Team Date: Thu, 7 Nov 2024 13:32:16 -0500 Subject: [PATCH] test: Add sample shell-cli sandbox flag test case Bug: N/A Change-Id: I6a8467570e8c59944c657668a9247ca9a51988a7 GitOrigin-RevId: e6731566dd7e1f645e4d63437a6d94bbe91b04d5 --- src/roma/byob/sample_udf/shell_cli_test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/roma/byob/sample_udf/shell_cli_test.yaml b/src/roma/byob/sample_udf/shell_cli_test.yaml index 38264d43..0676a902 100644 --- a/src/roma/byob/sample_udf/shell_cli_test.yaml +++ b/src/roma/byob/sample_udf/shell_cli_test.yaml @@ -45,3 +45,10 @@ commandTests: --num_workers \(Number of workers\.\); default: 1; --sandbox \(Run BYOB in sandbox mode\.\); default: on; --udf_log_file \(Directory for storing UDF logs\.\); default: ; + + - name: shell-cli sandbox flag + command: /tools/shell-cli + args: ['--sandbox=unknown'] + exitCode: 1 + expectedError: + - "ERROR: Illegal value 'unknown' specified for flag 'sandbox'; Supported values: on, off, debug."