Skip to content

Commit

Permalink
Add tests for Linux Reboot 32-bit/64-bit RISC-V LE payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Oct 1, 2024
1 parent 09c698c commit 7fca49d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions spec/modules/payloads_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1845,6 +1845,26 @@
reference_name: 'linux/ppc64/shell_reverse_tcp'
end

context 'linux/riscv32le/reboot' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'singles/linux/riscv32le/reboot'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'linux/riscv32le/reboot'
end

context 'linux/riscv64le/reboot' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'singles/linux/riscv64le/reboot'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'linux/riscv64le/reboot'
end

context 'linux/x64/exec' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
Expand Down

0 comments on commit 7fca49d

Please sign in to comment.