|
| 1 | +*** Settings *** |
| 2 | +Library Collections |
| 3 | +Library OperatingSystem |
| 4 | +Library Process |
| 5 | +Library String |
| 6 | +Library Telnet timeout=20 seconds connection_timeout=120 seconds |
| 7 | + |
| 8 | +Resource ../variables.robot |
| 9 | +Resource ../keywords.robot |
| 10 | +Resource ../keys.robot |
| 11 | + |
| 12 | +# Log Out And Close Connection - elementary teardown keyword for all tests. |
| 13 | +Suite Setup Run Keywords |
| 14 | +... Prepare Test Suite |
| 15 | +... AND |
| 16 | +... Restore Secure Boot Defaults |
| 17 | +Suite Teardown Run Keywords |
| 18 | +... Run Keyword If ${SECURE_BOOT_SUPPORT} and ${TESTS_IN_FIRMWARE_SUPPORT} Set Secure Boot State To Disabled |
| 19 | +... AND |
| 20 | +... Log Out And Close Connection |
| 21 | +Test Setup Run Keyword |
| 22 | +... Restore Initial DUT Connection Method |
| 23 | + |
| 24 | +*** Variables *** |
| 25 | +${PFSENSE_PROMPT}= [ 2.7.2-RELEASE][ [email protected]]/root |
| 26 | + |
| 27 | +*** Test Cases *** |
| 28 | +BPS001.001 Boot pfSense LTS CE (serial output) from disk after cold-boot |
| 29 | + [Documentation] Boot pfSense LTS CE (serial output) from disk after cold-boot |
| 30 | + Power On |
| 31 | + |
| 32 | +BPS002.001 Boot pfSense LTS CE (serial output) from disk after warm-boot |
| 33 | + [Documentation] |
| 34 | + Power On |
| 35 | + |
| 36 | +BPS003.001 Boot pfSense LTS CE (serial output) from disk after reboot |
| 37 | + [Documentation] |
| 38 | + Power On |
| 39 | + |
| 40 | +OPN001.001 OPNsense stable (serial output) installation on Hard Disk |
| 41 | + [Documentation] |
| 42 | + Power On |
| 43 | + |
| 44 | +OPN001.002 Boot OPNsense stable (serial output) from Hard Disk |
| 45 | + [Documentation] |
| 46 | + Power On |
| 47 | + |
| 48 | +PFS001.001 pfSense stable (serial output) installation on Hard Disk |
| 49 | + [Documentation] |
| 50 | + Power On |
| 51 | + Boot pfSense Installer |
| 52 | + |
| 53 | +PFS001.002 Boot pfSense stable (serial output) from Hard Disk |
| 54 | + [Documentation] |
| 55 | + Power On |
| 56 | + Boot pf Sense |
| 57 | + |
| 58 | +*** Keywords *** |
| 59 | +#Relabel pfSense ESP |
| 60 | +# |
| 61 | + |
| 62 | +Boot pfSense Installer |
| 63 | + [Documentation] PFEFI -> /EFI/BOOT/bootx64.efi |
| 64 | + Enter Boot From File |
| 65 | + Enter Volume In File Explorer PFEFI |
| 66 | + Execute File In File Explorer EFI |
| 67 | + Execute File In File Explorer BOOT |
| 68 | + Execute File In File Explorer bootx64.efi |
| 69 | + Read From Terminal Until Console type [vt100]: |
| 70 | + |
| 71 | +Boot pf Sense |
| 72 | + [Documentation] PFBOOT -> /efi/freebsd/loader.efi |
| 73 | + Enter Boot From File |
| 74 | + Enter Volume In File Explorer PFBOOT |
| 75 | + Execute File In File Explorer efi |
| 76 | + Execute File In File Explorer freebsd |
| 77 | + Execute File In File Explorer loader.efi |
| 78 | + Read From Terminal Until Enter an option: |
| 79 | + Write Into Terminal 8 |
| 80 | + Read From Terminal Until ${PFSENSE_PROMPT} |
0 commit comments