Commit 081c1029 authored by intrigeri's avatar intrigeri
Browse files

Revert "Bump RAM for single scenario to make it pass."

This reverts commit 895387ec.

Freeing some memory by killing the GDM session is enough
to make this scenario pass with the default memory settings,
i.e. our current documented minimum hardware requirements.
parent 9e6df451
......@@ -10,17 +10,7 @@ Feature: Additional software
# dependencies (which are documented below).
Scenario: I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Given a computer
And the computer has 2650 MiB of RAM
And the network is unplugged
And I start the computer
And the computer boots Tails
And I set an administration password
And I log in to a new session
And the network is plugged
And Tor is ready
And all notifications have disappeared
And available upgrades have been checked
Given I have started Tails from DVD and logged in with an administration password and the network is connected
And I update APT using apt
When I install "sslh" using apt
Then I am notified I can not use Additional Software for "sslh"
......@@ -48,10 +48,6 @@ Given /^a computer$/ do
$vm =$virt, VM_XML_PATH, $vmnet, $vmstorage, DISPLAY)
Given /^the computer has (\d+) ([[:alpha:]]+) of RAM$/ do |size, unit|
$vm.set_ram_size(size, unit)
Given /^the computer is set to boot from the Tails DVD$/ do
......@@ -394,16 +394,6 @@ class VM
return list
def set_ram_size(size, unit = "KiB")
raise "System memory can only be added to inactive vms" if is_running?
domain_xml =
domain_xml.elements['domain/memory'].text = size
domain_xml.elements['domain/memory'].attributes['unit'] = unit
domain_xml.elements['domain/currentMemory'].text = size
domain_xml.elements['domain/currentMemory'].attributes['unit'] = unit
def set_os_loader(type)
if is_running?
raise "boot settings can only be set for inactive vms"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment