2 Feature: System memory erasure on shutdown
5 I want the system memory to be free from sensitive data.
7 Scenario: Anti-test: no memory erasure on a modern computer
9 And the computer is a modern 64-bit system
10 And the computer has 8 GiB of RAM
11 And I set Tails to boot with options "debug=wipemem"
12 And I start Tails from DVD with network unplugged and I login
13 Then the PAE kernel is running
14 And at least 8 GiB of RAM was detected
15 And process "memlockd" is running
16 And process "udev-watchdog" is running
17 When I fill the guest's memory with a known pattern without verifying
18 And I reboot without wiping the memory
19 Then I find many patterns in the guest's memory
21 Scenario: Memory erasure on a modern computer
23 And the computer is a modern 64-bit system
24 And the computer has 8 GiB of RAM
25 And I set Tails to boot with options "debug=wipemem"
26 And I start Tails from DVD with network unplugged and I login
27 Then the PAE kernel is running
28 And at least 8 GiB of RAM was detected
29 And process "memlockd" is running
30 And process "udev-watchdog" is running
31 When I fill the guest's memory with a known pattern
32 And I shutdown and wait for Tails to finish wiping the memory
33 Then I find very few patterns in the guest's memory
35 Scenario: Anti-test: no memory erasure on an old computer
37 And the computer is an old pentium without the PAE extension
38 And the computer has 8 GiB of RAM
39 And I set Tails to boot with options "debug=wipemem"
40 And I start Tails from DVD with network unplugged and I login
41 Then the non-PAE kernel is running
42 And at least 3500 MiB of RAM was detected
43 And process "memlockd" is running
44 And process "udev-watchdog" is running
45 When I fill the guest's memory with a known pattern without verifying
46 And I reboot without wiping the memory
47 Then I find many patterns in the guest's memory
49 Scenario: Memory erasure on an old computer
51 And the computer is an old pentium without the PAE extension
52 And the computer has 8 GiB of RAM
53 And I set Tails to boot with options "debug=wipemem"
54 And I start Tails from DVD with network unplugged and I login
55 And the non-PAE kernel is running
56 And at least 3500 MiB of RAM was detected
57 And process "memlockd" is running
58 And process "udev-watchdog" is running
59 When I fill the guest's memory with a known pattern
60 And I shutdown and wait for Tails to finish wiping the memory
61 Then I find very few patterns in the guest's memory