test: py: tests: Correct zynq aes & rsa py-test cases
This patch corrects zynq aes & rsa py-test cases as per changes in zynq aes and rsa commands. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
committed by
Michal Simek
parent
9eb4a87785
commit
f5fbd45ddb
@@ -85,8 +85,8 @@ def test_zynq_aes_image(u_boot_console):
|
||||
if not dstsize:
|
||||
pytest.skip('No dstlen specified in env file to read')
|
||||
|
||||
expected_zynqaes = 'zynqaes [operation type] <srcaddr>'
|
||||
output = u_boot_console.run_command('zynqaes %x $filesize %x %x' % (srcaddr, dstaddr, dstsize))
|
||||
expected_zynqaes = 'zynq aes [operation type] <srcaddr>'
|
||||
output = u_boot_console.run_command('zynq aes %x $filesize %x %x' % (srcaddr, dstaddr, dstsize))
|
||||
assert expected_zynqaes not in output
|
||||
|
||||
@pytest.mark.buildconfigspec('cmd_zynq_aes')
|
||||
@@ -114,6 +114,6 @@ def test_zynq_aes_bitstream(u_boot_console):
|
||||
output = u_boot_console.run_command('tftpboot %x %s' % (srcaddr, fn))
|
||||
assert expected_tftp in output
|
||||
|
||||
expected_zynqaes = 'zynqaes [operation type] <srcaddr>'
|
||||
output = u_boot_console.run_command('zynqaes load %x $filesize' % (srcaddr))
|
||||
expected_zynqaes = 'zynq aes [operation type] <srcaddr>'
|
||||
output = u_boot_console.run_command('zynq aes load %x $filesize' % (srcaddr))
|
||||
assert expected_zynqaes not in output
|
||||
|
||||
@@ -75,8 +75,8 @@ def test_zynq_rsa_image(u_boot_console):
|
||||
output = u_boot_console.run_command('tftpboot %x %s' % (srcaddr, fn))
|
||||
assert expected_tftp in output
|
||||
|
||||
expected_zynqrsa = 'zynqrsa <baseaddr>'
|
||||
output = u_boot_console.run_command('zynqrsa %x ' % (srcaddr))
|
||||
expected_zynqrsa = 'zynq rsa <baseaddr>'
|
||||
output = u_boot_console.run_command('zynq rsa %x ' % (srcaddr))
|
||||
assert expected_zynqrsa not in output
|
||||
|
||||
@pytest.mark.buildconfigspec('cmd_zynq_rsa')
|
||||
@@ -104,6 +104,6 @@ def test_zynq_rsa_image_invalid(u_boot_console):
|
||||
output = u_boot_console.run_command('tftpboot %x %s' % (srcaddr, fninvalid))
|
||||
assert expected_tftp in output
|
||||
|
||||
expected_zynqrsa = 'zynqrsa <baseaddr>'
|
||||
output = u_boot_console.run_command('zynqrsa %x ' % (srcaddr))
|
||||
expected_zynqrsa = 'zynq rsa <baseaddr>'
|
||||
output = u_boot_console.run_command('zynq rsa %x ' % (srcaddr))
|
||||
assert expected_zynqrsa in output
|
||||
|
||||
Reference in New Issue
Block a user