mirror of
https://github.com/Dasharo/dcu.git
synced 2026-06-13 19:16:13 -07:00
test-data.sh: Remove internal cloud test-data urls (#35)
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Using */data/work/protectli_vp46xx_v1.2.0.rom
|
||||
Managing the MAC address in this binary is currently not supported
|
||||
@@ -0,0 +1,4 @@
|
||||
Will modify */data/work/protectli_vp46xx_v1.2.0.rom
|
||||
|
||||
Setting Serial Number to D07229051
|
||||
Success
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
Will modify */data/work/protectli_vp46xx_v1.2.0.rom
|
||||
|
||||
Setting System UUID to 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4
|
||||
Success
|
||||
Setting Serial Number to D07229051
|
||||
Success
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
Will modify */data/work/protectli_vp46xx_v1.2.0.rom
|
||||
|
||||
Setting System UUID to 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4
|
||||
Success
|
||||
@@ -0,0 +1,3 @@
|
||||
Will modify */data/work/protectli_vp46xx_v1.2.0.rom
|
||||
|
||||
Invalid UUID format
|
||||
+7
-7
@@ -21,7 +21,7 @@ describe "help message"
|
||||
|
||||
describe "Try to replace logo in binary supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli logo ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom -l ${DATA_WORK_DIR}/bootsplash.bmp"
|
||||
approve "$cli logo ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom -l ${DATA_WORK_DIR}/bootsplash.bmp"
|
||||
|
||||
describe "Try to replace logo in binary NOT supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
@@ -29,7 +29,7 @@ describe "Try to replace logo in binary NOT supporting that"
|
||||
|
||||
describe "Try to replace serial in binary supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom -s D07229051"
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom -s D07229051"
|
||||
|
||||
describe "Try to replace serial in binary NOT supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
@@ -37,7 +37,7 @@ describe "Try to replace serial in binary NOT supporting that"
|
||||
|
||||
describe "Try to replace UUID in binary supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom -u 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4"
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom -u 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4"
|
||||
|
||||
describe "Try to replace UUID in binary NOT supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
@@ -45,18 +45,18 @@ describe "Try to replace UUID in binary NOT supporting that"
|
||||
|
||||
describe "Try to replace both serial and UUID in binary supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom -s D07229051 -u 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4"
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom -s D07229051 -u 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4"
|
||||
|
||||
describe "Try to replace both serial and UUID in binary NOT supporting that"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/novacustom_nv4x_adl_v1.6.0.rom -s D07229051 -u 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4"
|
||||
|
||||
describe "Try to replace logo using unsupported format (PDF)"
|
||||
approve "$cli logo ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom -l ${DATA_WORK_DIR}/dummy.pdf"
|
||||
approve "$cli logo ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom -l ${DATA_WORK_DIR}/dummy.pdf"
|
||||
|
||||
describe "Try to replace UUID using incorrect format"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom -u dead-beef"
|
||||
approve "$cli smbios ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom -u dead-beef"
|
||||
|
||||
refresh_test_data
|
||||
|
||||
@@ -151,4 +151,4 @@ describe "Set MAC Bad checksums"
|
||||
|
||||
describe "MAC Unsupported binary"
|
||||
allow_diff $ESCAPED_PWD
|
||||
approve "$cli mac ${DATA_WORK_DIR}/protectli_vault_cml_v1.2.0-rc1_vp46xx.rom"
|
||||
approve "$cli mac ${DATA_WORK_DIR}/protectli_vp46xx_v1.2.0.rom"
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ download_test_data() {
|
||||
# Supported commands:
|
||||
# - logo
|
||||
# - smbios (uuid, serial)
|
||||
dl_test_file protectli_vault_cml_v1.2.0-rc1_vp46xx.rom https://cloud.3mdeb.com/index.php/s/KiFEzcLdtA2sA22/download
|
||||
dl_test_file protectli_vp46xx_v1.2.0.rom https://dl.3mdeb.com/open-source-firmware/Dasharo/protectli_vault_cml/v1.2.0/protectli_vp46xx_v1.2.0.rom
|
||||
|
||||
# Supported commands:
|
||||
# - logo
|
||||
|
||||
Reference in New Issue
Block a user