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 the network is unplugged
13 And I start the computer
14 And the computer boots Tails
15 And the PAE kernel is running
16 And at least 8 GiB of RAM was detected
17 And process "memlockd" is running
18 And process "udev-watchdog" is running
19 When I fill the guest's memory with a known pattern without verifying
20 And I reboot without wiping the memory
21 Then I find many patterns in the guest's memory
23 Scenario: Memory erasure on a modern computer
25 And the computer is a modern 64-bit system
26 And the computer has 8 GiB of RAM
27 And I set Tails to boot with options "debug=wipemem"
28 And the network is unplugged
29 And I start the computer
30 And the computer boots Tails
31 And I log in to a new session
33 And the PAE kernel is running
34 And at least 8 GiB of RAM was detected
35 And process "memlockd" is running
36 And process "udev-watchdog" is running
37 When I fill the guest's memory with a known pattern
38 And I shutdown and wait for Tails to finish wiping the memory
39 Then I find very few patterns in the guest's memory
41 Scenario: Anti-test: no memory erasure on an old computer
43 And the computer is an old pentium without the PAE extension
44 And the computer has 8 GiB of RAM
45 And I set Tails to boot with options "debug=wipemem"
46 And the network is unplugged
47 And I start the computer
48 And the computer boots Tails
49 And the non-PAE kernel is running
50 And at least 3500 MiB of RAM was detected
51 And process "memlockd" is running
52 And process "udev-watchdog" is running
53 When I fill the guest's memory with a known pattern without verifying
54 And I reboot without wiping the memory
55 Then I find many patterns in the guest's memory
57 Scenario: Memory erasure on an old computer
59 And the computer is an old pentium without the PAE extension
60 And the computer has 8 GiB of RAM
61 And I set Tails to boot with options "debug=wipemem"
62 And the network is unplugged
63 And I start the computer
64 And the computer boots Tails
65 And I log in to a new session
67 And the non-PAE kernel is running
68 And at least 3500 MiB of RAM was detected
69 And process "memlockd" is running
70 And process "udev-watchdog" is running
71 When I fill the guest's memory with a known pattern
72 And I shutdown and wait for Tails to finish wiping the memory
73 Then I find very few patterns in the guest's memory