From a5d56e3b5443263b53b0487c81125123411bd0cf Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Wed, 11 May 2016 17:11:01 +0200 Subject: move cucumber things under cucumber/ --- cucumber/features/config/defaults.yml | 36 + cucumber/features/domains/default.xml | 59 ++ cucumber/features/domains/default_net.xml | 13 + cucumber/features/domains/disk.xml | 5 + cucumber/features/domains/fs_share.xml | 6 + cucumber/features/domains/storage_pool.xml | 6 + cucumber/features/domains/volume.xml | 14 + .../images/DebianInstallerCountrySelection.png | Bin 0 -> 5303 bytes .../images/DebianInstallerDomainPrompt.png | Bin 0 -> 2225 bytes .../images/DebianInstallerHostnamePrompt.png | Bin 0 -> 5643 bytes .../features/images/DebianInstallerHttpProxy.png | Bin 0 -> 485 bytes .../images/DebianInstallerInstallingBaseSystem.png | Bin 0 -> 3554 bytes .../images/DebianInstallerMirrorCountry.png | Bin 0 -> 3769 bytes .../features/images/DebianInstallerNameOfUser.png | Bin 0 -> 3792 bytes .../features/images/DebianInstallerNoDiskFound.png | Bin 0 -> 4005 bytes .../images/DebianInstallerPartitioningMethod.png | Bin 0 -> 13953 bytes .../images/DebianInstallerPartitioningScheme.png | Bin 0 -> 2879 bytes .../images/DebianInstallerRootPassword.png | Bin 0 -> 3226 bytes .../DebianInstallerSelectDiskToPartition.png | Bin 0 -> 5403 bytes .../images/DebianInstallerSelectLangEnglish.png | Bin 0 -> 7229 bytes .../images/DebianInstallerSelectLangEnglishUK.png | Bin 0 -> 4853 bytes .../images/DebianInstallerUserPassword.png | Bin 0 -> 4892 bytes cucumber/features/images/DebianLive7BootSplash.png | Bin 0 -> 13399 bytes .../images/DebianLive7BootSplashTabMsg.png | Bin 0 -> 4260 bytes cucumber/features/images/DebianLive7Greeter.png | Bin 0 -> 3166 bytes cucumber/features/images/DebianLiveBootSplash.png | Bin 0 -> 1569 bytes .../features/images/DebianLiveBootSplashTabMsg.png | Bin 0 -> 790 bytes cucumber/features/images/DebianLoginPromptVT.png | Bin 0 -> 7466 bytes cucumber/features/images/d-i8_bootsplash.png | Bin 0 -> 9930 bytes cucumber/features/images/d-i_ArchiveMirror.png | Bin 0 -> 2908 bytes cucumber/features/images/d-i_ChooseSoftware.png | Bin 0 -> 4204 bytes cucumber/features/images/d-i_DesktopTask_No.png | Bin 0 -> 7161 bytes cucumber/features/images/d-i_DesktopTask_Yes.png | Bin 0 -> 4152 bytes cucumber/features/images/d-i_F12BootMenu.png | Bin 0 -> 482 bytes .../features/images/d-i_FinishPartitioning.png | Bin 0 -> 8734 bytes cucumber/features/images/d-i_GRUBEnterDev.png | Bin 0 -> 2490 bytes cucumber/features/images/d-i_GRUB_Debian.png | Bin 0 -> 387 bytes cucumber/features/images/d-i_GRUBdev.png | Bin 0 -> 1765 bytes cucumber/features/images/d-i_HttpProxy.png | Bin 0 -> 5324 bytes cucumber/features/images/d-i_InstallComplete.png | Bin 0 -> 2740 bytes cucumber/features/images/d-i_InstallGRUB.png | Bin 0 -> 6367 bytes cucumber/features/images/d-i_No.png | Bin 0 -> 995 bytes cucumber/features/images/d-i_ScanCD.png | Bin 0 -> 3216 bytes cucumber/features/images/d-i_SelectBootDev.png | Bin 0 -> 559 bytes cucumber/features/images/d-i_UseNetMirror.png | Bin 0 -> 2975 bytes cucumber/features/images/d-i_Yes.png | Bin 0 -> 1163 bytes cucumber/features/images/d-i_popcon.png | Bin 0 -> 3894 bytes cucumber/features/install.feature | 14 + cucumber/features/misc_files/sample.pdf | Bin 0 -> 22347 bytes cucumber/features/misc_files/sample.tex | 8 + cucumber/features/scripts/otr-bot.py | 206 ++++ cucumber/features/scripts/vm-execute | 52 + cucumber/features/step_definitions/apt.rb | 56 + cucumber/features/step_definitions/browser.rb | 195 ++++ cucumber/features/step_definitions/build.rb | 115 +++ cucumber/features/step_definitions/checks.rb | 252 +++++ cucumber/features/step_definitions/common_steps.rb | 1086 ++++++++++++++++++++ cucumber/features/step_definitions/dhcp.rb | 19 + cucumber/features/step_definitions/electrum.rb | 52 + cucumber/features/step_definitions/encryption.rb | 133 +++ cucumber/features/step_definitions/evince.rb | 25 + .../features/step_definitions/firewall_leaks.rb | 56 + cucumber/features/step_definitions/git.rb | 6 + cucumber/features/step_definitions/icedove.rb | 94 ++ cucumber/features/step_definitions/mac_spoofing.rb | 108 ++ cucumber/features/step_definitions/pidgin.rb | 467 +++++++++ cucumber/features/step_definitions/po.rb | 8 + .../step_definitions/root_access_control.rb | 42 + cucumber/features/step_definitions/snapshots.rb | 257 +++++ cucumber/features/step_definitions/ssh.rb | 122 +++ cucumber/features/step_definitions/time_syncing.rb | 86 ++ cucumber/features/step_definitions/tor.rb | 402 ++++++++ .../features/step_definitions/torified_browsing.rb | 5 + .../features/step_definitions/torified_gnupg.rb | 208 ++++ .../features/step_definitions/torified_misc.rb | 41 + cucumber/features/step_definitions/totem.rb | 43 + .../features/step_definitions/unsafe_browser.rb | 189 ++++ .../step_definitions/untrusted_partitions.rb | 61 ++ cucumber/features/step_definitions/usb.rb | 596 +++++++++++ cucumber/features/support/config.rb | 100 ++ cucumber/features/support/env.rb | 90 ++ cucumber/features/support/extra_hooks.rb | 165 +++ .../features/support/helpers/chatbot_helper.rb | 59 ++ cucumber/features/support/helpers/ctcp_helper.rb | 126 +++ .../features/support/helpers/display_helper.rb | 48 + cucumber/features/support/helpers/exec_helper.rb | 79 ++ .../features/support/helpers/firewall_helper.rb | 121 +++ cucumber/features/support/helpers/misc_helpers.rb | 253 +++++ cucumber/features/support/helpers/sikuli_helper.rb | 213 ++++ .../features/support/helpers/sniffing_helper.rb | 43 + cucumber/features/support/helpers/sshd_helper.rb | 67 ++ .../features/support/helpers/storage_helper.rb | 216 ++++ cucumber/features/support/helpers/vm_helper.rb | 676 ++++++++++++ cucumber/features/support/hooks.rb | 280 +++++ 94 files changed, 7679 insertions(+) create mode 100644 cucumber/features/config/defaults.yml create mode 100644 cucumber/features/domains/default.xml create mode 100644 cucumber/features/domains/default_net.xml create mode 100644 cucumber/features/domains/disk.xml create mode 100644 cucumber/features/domains/fs_share.xml create mode 100644 cucumber/features/domains/storage_pool.xml create mode 100644 cucumber/features/domains/volume.xml create mode 100644 cucumber/features/images/DebianInstallerCountrySelection.png create mode 100644 cucumber/features/images/DebianInstallerDomainPrompt.png create mode 100644 cucumber/features/images/DebianInstallerHostnamePrompt.png create mode 100644 cucumber/features/images/DebianInstallerHttpProxy.png create mode 100644 cucumber/features/images/DebianInstallerInstallingBaseSystem.png create mode 100644 cucumber/features/images/DebianInstallerMirrorCountry.png create mode 100644 cucumber/features/images/DebianInstallerNameOfUser.png create mode 100644 cucumber/features/images/DebianInstallerNoDiskFound.png create mode 100644 cucumber/features/images/DebianInstallerPartitioningMethod.png create mode 100644 cucumber/features/images/DebianInstallerPartitioningScheme.png create mode 100644 cucumber/features/images/DebianInstallerRootPassword.png create mode 100644 cucumber/features/images/DebianInstallerSelectDiskToPartition.png create mode 100644 cucumber/features/images/DebianInstallerSelectLangEnglish.png create mode 100644 cucumber/features/images/DebianInstallerSelectLangEnglishUK.png create mode 100644 cucumber/features/images/DebianInstallerUserPassword.png create mode 100644 cucumber/features/images/DebianLive7BootSplash.png create mode 100644 cucumber/features/images/DebianLive7BootSplashTabMsg.png create mode 100644 cucumber/features/images/DebianLive7Greeter.png create mode 100644 cucumber/features/images/DebianLiveBootSplash.png create mode 100644 cucumber/features/images/DebianLiveBootSplashTabMsg.png create mode 100644 cucumber/features/images/DebianLoginPromptVT.png create mode 100644 cucumber/features/images/d-i8_bootsplash.png create mode 100644 cucumber/features/images/d-i_ArchiveMirror.png create mode 100644 cucumber/features/images/d-i_ChooseSoftware.png create mode 100644 cucumber/features/images/d-i_DesktopTask_No.png create mode 100644 cucumber/features/images/d-i_DesktopTask_Yes.png create mode 100644 cucumber/features/images/d-i_F12BootMenu.png create mode 100644 cucumber/features/images/d-i_FinishPartitioning.png create mode 100644 cucumber/features/images/d-i_GRUBEnterDev.png create mode 100644 cucumber/features/images/d-i_GRUB_Debian.png create mode 100644 cucumber/features/images/d-i_GRUBdev.png create mode 100644 cucumber/features/images/d-i_HttpProxy.png create mode 100644 cucumber/features/images/d-i_InstallComplete.png create mode 100644 cucumber/features/images/d-i_InstallGRUB.png create mode 100644 cucumber/features/images/d-i_No.png create mode 100644 cucumber/features/images/d-i_ScanCD.png create mode 100644 cucumber/features/images/d-i_SelectBootDev.png create mode 100644 cucumber/features/images/d-i_UseNetMirror.png create mode 100644 cucumber/features/images/d-i_Yes.png create mode 100644 cucumber/features/images/d-i_popcon.png create mode 100644 cucumber/features/install.feature create mode 100644 cucumber/features/misc_files/sample.pdf create mode 100644 cucumber/features/misc_files/sample.tex create mode 100755 cucumber/features/scripts/otr-bot.py create mode 100755 cucumber/features/scripts/vm-execute create mode 100644 cucumber/features/step_definitions/apt.rb create mode 100644 cucumber/features/step_definitions/browser.rb create mode 100644 cucumber/features/step_definitions/build.rb create mode 100644 cucumber/features/step_definitions/checks.rb create mode 100644 cucumber/features/step_definitions/common_steps.rb create mode 100644 cucumber/features/step_definitions/dhcp.rb create mode 100644 cucumber/features/step_definitions/electrum.rb create mode 100644 cucumber/features/step_definitions/encryption.rb create mode 100644 cucumber/features/step_definitions/evince.rb create mode 100644 cucumber/features/step_definitions/firewall_leaks.rb create mode 100644 cucumber/features/step_definitions/git.rb create mode 100644 cucumber/features/step_definitions/icedove.rb create mode 100644 cucumber/features/step_definitions/mac_spoofing.rb create mode 100644 cucumber/features/step_definitions/pidgin.rb create mode 100644 cucumber/features/step_definitions/po.rb create mode 100644 cucumber/features/step_definitions/root_access_control.rb create mode 100644 cucumber/features/step_definitions/snapshots.rb create mode 100644 cucumber/features/step_definitions/ssh.rb create mode 100644 cucumber/features/step_definitions/time_syncing.rb create mode 100644 cucumber/features/step_definitions/tor.rb create mode 100644 cucumber/features/step_definitions/torified_browsing.rb create mode 100644 cucumber/features/step_definitions/torified_gnupg.rb create mode 100644 cucumber/features/step_definitions/torified_misc.rb create mode 100644 cucumber/features/step_definitions/totem.rb create mode 100644 cucumber/features/step_definitions/unsafe_browser.rb create mode 100644 cucumber/features/step_definitions/untrusted_partitions.rb create mode 100644 cucumber/features/step_definitions/usb.rb create mode 100644 cucumber/features/support/config.rb create mode 100644 cucumber/features/support/env.rb create mode 100644 cucumber/features/support/extra_hooks.rb create mode 100644 cucumber/features/support/helpers/chatbot_helper.rb create mode 100644 cucumber/features/support/helpers/ctcp_helper.rb create mode 100644 cucumber/features/support/helpers/display_helper.rb create mode 100644 cucumber/features/support/helpers/exec_helper.rb create mode 100644 cucumber/features/support/helpers/firewall_helper.rb create mode 100644 cucumber/features/support/helpers/misc_helpers.rb create mode 100644 cucumber/features/support/helpers/sikuli_helper.rb create mode 100644 cucumber/features/support/helpers/sniffing_helper.rb create mode 100644 cucumber/features/support/helpers/sshd_helper.rb create mode 100644 cucumber/features/support/helpers/storage_helper.rb create mode 100644 cucumber/features/support/helpers/vm_helper.rb create mode 100644 cucumber/features/support/hooks.rb (limited to 'cucumber/features') diff --git a/cucumber/features/config/defaults.yml b/cucumber/features/config/defaults.yml new file mode 100644 index 00000000..9c312146 --- /dev/null +++ b/cucumber/features/config/defaults.yml @@ -0,0 +1,36 @@ +CAPTURE: false +CAPTURE_ALL: false +MAX_NEW_TOR_CIRCUIT_RETRIES: 10 +PAUSE_ON_FAIL: false +SIKULI_RETRY_FINDFAILED: false +TMPDIR: "/tmp/DebianToaster" + +Unsafe_SSH_private_key: | + -----BEGIN RSA PRIVATE KEY----- + MIIEowIBAAKCAQEAvMUNgUUM/kyuo26m+Xw7igG6zgGFMFbS3u8m5StGsJOn7zLi + J8P5Mml/R+4tdOS6owVU4RaZTPsNZZK/ClYmOPhmNvJ04pVChk2DZ8AARg/TANj3 + qjKs3D+MeKbk1bt6EsA55kgGsTUky5Ti8cc2Wna25jqjagIiyM822PGG9mmI6/zL + YR6QLUizNaciXrRM3Q4R4sQkEreVlHeonPEiGUs9zx0swCpLtPM5UIYte1PVHgkw + ePsU6vM8UqVTK/VwtLLgLanXnsMFuzq7DTAXPq49+XSFNq4JlxbEF6+PQXZvYZ5N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pic7D45RJNjiA1R5rbfSZqqnx6BGoIPn1 + rLxkKwKBgDXiWeUKJCydj0NfHryGBkQvaDahDE3Yigcma63b8vMZPBrJSC4SGAHJ + NWema+bArbaF0rKVJpwvpkZWGcr6qRn94Ts0kJAzR+VIVTOjB9sVwdxjadwWHRs5 + kKnpY0tnSF7hyVRwN7GOsNDJEaFjCW7k4+55D2ZNBy2iN3beW8CZ + -----END RSA PRIVATE KEY----- +Unsafe_SSH_public_key: = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8xQ2BRQz+TK6jbqb5fDuKAbrOAYUwVtLe7yblK0awk6fvMuInw/kyaX9H7i105LqjBVThFplM+w1lkr8KViY4+GY28nTilUKGTYNnwABGD9MA2PeqMqzcP4x4puTVu3oSwDnmSAaxNSTLlOLxxzZadrbmOqNqAiLIzzbY8Yb2aYjr/MthHpAtSLM1pyJetEzdDhHixCQSt5WUd6ic8SIZSz3PHSzAKku08zlQhi17U9UeCTB4+xTq8zxSpVMr9XC0suAtqdeewwW7OrsNMBc+rj35dIU2rgmXFsQXr49Bdm9hnk15bTQars1Kk8/y6gevp/Un6YzHGczzmPNi1HH5 amnesia@amnesia" diff --git a/cucumber/features/domains/default.xml b/cucumber/features/domains/default.xml new file mode 100644 index 00000000..f1004dcf --- /dev/null +++ b/cucumber/features/domains/default.xml @@ -0,0 +1,59 @@ + + DebianToaster + 1310720 + 1310720 + 1 + + hvm + + + + + + + + + + destroy + restart + restart + + /usr/bin/qemu-system-x86_64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +