Skip to content

Commit 5e1ecfc

Browse files
committed
Add tests for Linux Reboot 32-bit/64-bit RISC-V LE payloads
1 parent befabb8 commit 5e1ecfc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

spec/modules/payloads_spec.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,6 +1845,26 @@
18451845
reference_name: 'linux/ppc64/shell_reverse_tcp'
18461846
end
18471847

1848+
context 'linux/riscv32le/reboot' do
1849+
it_should_behave_like 'payload cached size is consistent',
1850+
ancestor_reference_names: [
1851+
'singles/linux/riscv32le/reboot'
1852+
],
1853+
dynamic_size: false,
1854+
modules_pathname: modules_pathname,
1855+
reference_name: 'linux/riscv32le/reboot'
1856+
end
1857+
1858+
context 'linux/riscv64le/reboot' do
1859+
it_should_behave_like 'payload cached size is consistent',
1860+
ancestor_reference_names: [
1861+
'singles/linux/riscv64le/reboot'
1862+
],
1863+
dynamic_size: false,
1864+
modules_pathname: modules_pathname,
1865+
reference_name: 'linux/riscv64le/reboot'
1866+
end
1867+
18481868
context 'linux/x64/exec' do
18491869
it_should_behave_like 'payload cached size is consistent',
18501870
ancestor_reference_names: [

0 commit comments

Comments
 (0)