Skip to content

Commit 914313c

Browse files
committed
fix test suite
1 parent 2f75b36 commit 914313c

File tree

6 files changed

+1
-109
lines changed

6 files changed

+1
-109
lines changed

examples/anyFS/test/1.2.nosecurity.gz/1.2.nosecurity.gz.ino

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,6 @@ const bool disable_security = true;
3030
const char* title = "1.2";
3131
const char* description = "Basic *gzipped* example with no security and no filesystem";
3232

33-
const char* fota_debug_fmt = R"DBG_FMT(
34-
35-
***************** STAGE %s *****************
36-
37-
Description : %s
38-
Firmware type : %s
39-
Firmware version : %i.%i.%i
40-
Signature check : %s
41-
TLS Cert check : %s
42-
Compression : %s
43-
44-
********************************************
45-
46-
)DBG_FMT";
47-
48-
49-
// esp32fota esp32fota("<Type of Firmware for this device>", <this version>, <validate signature>, <allow insecure TLS>);
50-
// esp32FOTA esp32FOTA( String(firmware_name), firmware_version, check_signature, disable_security );
51-
5233

5334
esp32FOTA FOTA;
5435

examples/anyFS/test/1.3.nosecurity.zz/1.3.nosecurity.zz.ino

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,6 @@ const bool disable_security = true;
2929
const char* title = "1.3";
3030
const char* description = "Basic *gzipped* example with no security and no filesystem";
3131

32-
const char* fota_debug_fmt = R"DBG_FMT(
33-
34-
***************** STAGE %s *****************
35-
36-
Description : %s
37-
Firmware type : %s
38-
Firmware version : %i.%i.%i
39-
Signature check : %s
40-
TLS Cert check : %s
41-
Compression : %s
42-
43-
********************************************
44-
45-
)DBG_FMT";
46-
47-
48-
// esp32fota esp32fota("<Type of Firmware for this device>", <this version>, <validate signature>, <allow insecure TLS>);
49-
// esp32FOTA esp32FOTA( String(firmware_name), firmware_version, check_signature, disable_security );
50-
5132

5233
esp32FOTA FOTA;
5334

examples/anyFS/test/2.cert-in-spiffs/2.cert-in-spiffs.ino

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,10 @@ const bool disable_security = false;
2424
const char* title = "2";
2525
const char* description = "SPIFFS example with security";
2626

27-
const char* fota_debug_fmt = R"DBG_FMT(
2827

29-
***************** STAGE %s *****************
30-
31-
Description : %s
32-
Firmware type : %s
33-
Firmware version : %i.%i.%i
34-
Signature check : %s
35-
TLS Cert check : %s
36-
Compression : %s
37-
38-
********************************************
39-
40-
)DBG_FMT";
41-
42-
// esp32fota esp32fota("<Type of Firme for this device>", <this version>, <validate signature>, <allow insecure TLS>);
43-
// esp32FOTA esp32FOTA( String(firmware_name), firmware_version, check_signature, disable_security );
44-
45-
// for manual configuration
4628
esp32FOTA FOTA;
4729

30+
4831
// CryptoFileAsset *MyRootCA = new CryptoFileAsset( "/root_ca.pem", &LittleFS );
4932
CryptoFileAsset *MyRootCA = new CryptoFileAsset( "/root_ca.pem", &SPIFFS );
5033
// CryptoMemAsset *MyRootCA = new CryptoMemAsset("Certificates Chain", root_ca, strlen(root_ca)+1 );

examples/anyFS/test/3.cert-in-progmem/3.cert-in-progmem.ino

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,7 @@ const bool disable_security = false;
2626
const char* title = "3";
2727
const char* description = "PROGMEM example with security";
2828

29-
const char* fota_debug_fmt = R"DBG_FMT(
3029

31-
***************** STAGE %s *****************
32-
33-
Description : %s
34-
Firmware type : %s
35-
Firmware version : %i.%i.%i
36-
Signature check : %s
37-
TLS Cert check : %s
38-
Compression : %s
39-
40-
********************************************
41-
42-
)DBG_FMT";
43-
44-
// esp32fota esp32fota("<Type of Firme for this device>", <this version>, <validate signature>, <allow insecure TLS>);
45-
// esp32FOTA esp32FOTA( String(firmware_name), firmware_version, check_signature, disable_security );
46-
47-
// for manual configuration
4830
esp32FOTA FOTA;
4931

5032
// CryptoFileAsset *MyRootCA = new CryptoFileAsset( "/root_ca.pem", &LittleFS );

examples/anyFS/test/4.cert-in-littlefs/4.cert-in-littlefs.ino

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,7 @@ const bool disable_security = false;
2424
const char* title = "4";
2525
const char* description = "LittleFS example with enforced security";
2626

27-
const char* fota_debug_fmt = R"DBG_FMT(
2827

29-
***************** STAGE %s *****************
30-
31-
Description : %s
32-
Firmware type : %s
33-
Firmware version : %i.%i.%i
34-
Signature check : %s
35-
TLS Cert check : %s
36-
Compression : %s
37-
38-
********************************************
39-
40-
)DBG_FMT";
41-
42-
// esp32fota esp32fota("<Type of Firme for this device>", <this version>, <validate signature>, <allow insecure TLS>);
43-
//esp32FOTA esp32FOTA( String(firmware_name), firmware_version, check_signature, disable_security );
44-
45-
// for manual configuration
4628
esp32FOTA FOTA;
4729

4830
CryptoFileAsset *MyRootCA = new CryptoFileAsset( "/root_ca.pem", &LittleFS );

examples/anyFS/test/5.sig-in-progmem/5.sig-in-progmem.ino

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ const bool disable_security = false;
2727
const char* title = "5";
2828
const char* description = "PROGMEM example with enforced security";
2929

30-
const char* fota_debug_fmt = R"DBG_FMT(
31-
32-
***************** STAGE %s *****************
33-
34-
Description : %s
35-
Firmware type : %s
36-
Firmware version : %i.%i.%i
37-
Signature check : %s
38-
TLS Cert check : %s
39-
Compression : %s
40-
41-
********************************************
42-
43-
)DBG_FMT";
44-
45-
// esp32fota esp32fota("<Type of Firme for this device>", <this version>, <validate signature>, <allow insecure TLS>);
46-
//esp32FOTA esp32FOTA( String(firmware_name), firmware_version, check_signature, disable_security );
4730

4831
esp32FOTA FOTA;
4932

0 commit comments

Comments
 (0)