1- using System ;
2- using System . Collections . Generic ;
3- using System . IO ;
4- using System . Linq ;
51using System . Text ;
62using System . Text . Json ;
7- using GeneralUpdate . Core . Download ;
8- using GeneralUpdate . Core . FileSystem ;
9- using GeneralUpdate . Core . Event ;
103using GeneralUpdate . Core . JsonContext ;
114using GeneralUpdate . Core . Configuration ;
125using GeneralUpdate . Core ;
13- using Xunit ;
146
157namespace CoreTest . Bootstrap
168{
@@ -243,7 +235,6 @@ public void ProcessInfo_FullSerialization_RoundTripPreservesAllFields()
243235 SkipDirectorys = new List < string > { "logs" , "cache" , "__backups__" } ,
244236 Scheme = "Bearer" ,
245237 Token = "jwt-token-xyz" ,
246- Script = "#!/bin/bash\n chmod +x" ,
247238 DriverDirectory = @"C:\drivers"
248239 } ;
249240
@@ -408,7 +399,6 @@ public void ConfigurationMapper_MapToGlobalConfigInfo_MapsAllFields()
408399 Scheme = "Bearer" ,
409400 Token = "jwt-token" ,
410401 Bowl = "Bowl.exe" ,
411- Script = "chmod +x /app/Update" ,
412402 DriverDirectory = @"C:\drivers" ,
413403 BlackFiles = new List < string > { "*.pdb" } ,
414404 BlackFormats = new List < string > { ".log" } ,
@@ -431,7 +421,6 @@ public void ConfigurationMapper_MapToGlobalConfigInfo_MapsAllFields()
431421 Assert . Equal ( "Bearer" , globalConfig . Scheme ) ;
432422 Assert . Equal ( "jwt-token" , globalConfig . Token ) ;
433423 Assert . Equal ( "Bowl.exe" , globalConfig . Bowl ) ;
434- Assert . Equal ( "chmod +x /app/Update" , globalConfig . Script ) ;
435424 Assert . Equal ( @"C:\drivers" , globalConfig . DriverDirectory ) ;
436425 Assert . NotNull ( globalConfig . BlackFiles ) ;
437426 Assert . Contains ( "*.pdb" , globalConfig . BlackFiles ) ;
@@ -533,7 +522,6 @@ public void DeveloperScenario_FullProductionSetup_CompleteChain()
533522 Scheme = "Bearer" ,
534523 Token = "eyJhbGciOiJIUzI1NiIs..." ,
535524 Bowl = "Bowl.exe" ,
536- Script = "chmod +x /opt/myproduct/Update" ,
537525 DriverDirectory = @"C:\Program Files\MyProduct\drivers" ,
538526 BlackFiles = new List < string > { "*.pdb" , "*.config" , "appsettings.Development.json" } ,
539527 BlackFormats = new List < string > { ".log" , ".tmp" , ".cache" } ,
0 commit comments