@@ -300,7 +300,7 @@ class ProcessArguments : public Scenario {
300300 void run (const std::string& input) const override {
301301 const score::json::JsonParser parser;
302302 const auto root_any_res = parser.FromBuffer (input);
303- std::string working_dir = " /tmp " ;
303+ std::string working_dir = " /UNSET_DEFAULT_WORKING_DIR " ;
304304 auto args = parse_string_array_field (input, " args" );
305305
306306 std::cout << " Testing process arguments and working directory" << std::endl;
@@ -311,7 +311,7 @@ class ProcessArguments : public Scenario {
311311 }
312312 std::cout << std::endl;
313313 } else {
314- std::cout << " Received arguments: --mode test --verbose " << std::endl;
314+ std::cout << " ERROR: No arguments received from config (would use broken default) " << std::endl;
315315 }
316316
317317 if (root_any_res.has_value ()) {
@@ -350,8 +350,8 @@ class ProcessSecurity : public Scenario {
350350 void run (const std::string& input) const override {
351351 const score::json::JsonParser parser;
352352 const auto root_any_res = parser.FromBuffer (input);
353- uint64_t uid = 1000 ;
354- uint64_t gid = 1000 ;
353+ uint64_t uid = 9999 ; // Intentionally different from test config to prove config read
354+ uint64_t gid = 9999 ; // Intentionally different from test config to prove config read
355355
356356 if (root_any_res.has_value ()) {
357357 const auto root_object_res = root_any_res.value ().As <score::json::Object>();
@@ -385,7 +385,19 @@ class ProcessSecurity : public Scenario {
385385
386386 std::cout << " Testing process security configuration" << std::endl;
387387 std::cout << " Process UID: " << uid << " , GID: " << gid << std::endl;
388- std::cout << " Supplementary groups: [100, 200]" << std::endl;
388+
389+ // Parse and print supplementary groups from config
390+ auto groups_from_config = parse_string_array_field (input, " supplementary_groups" );
391+ if (!groups_from_config.empty ()) {
392+ std::cout << " Supplementary groups: [" ;
393+ for (size_t i = 0 ; i < groups_from_config.size (); ++i) {
394+ if (i > 0 ) std::cout << " , " ;
395+ std::cout << groups_from_config[i];
396+ }
397+ std::cout << " ]" << std::endl;
398+ } else {
399+ std::cout << " Supplementary groups: [100, 200]" << std::endl;
400+ }
389401 std::cout << " Security policy applied" << std::endl;
390402 }
391403};
@@ -400,8 +412,8 @@ class ProcessResources : public Scenario {
400412 void run (const std::string& input) const override {
401413 const score::json::JsonParser parser;
402414 const auto root_any_res = parser.FromBuffer (input);
403- uint64_t priority = 10 ;
404- std::string sched_policy = " SCHED_RR " ;
415+ uint64_t priority = 99 ; // Intentionally different from test config
416+ std::string sched_policy = " SCHED_OTHER " ; // Intentionally different from test config
405417
406418 if (root_any_res.has_value ()) {
407419 const auto root_object_res = root_any_res.value ().As <score::json::Object>();
0 commit comments