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 the PAE kernel is running
32 And at least 8 GiB of RAM was detected
33 And process "memlockd" is running
34 And process "udev-watchdog" is running
35 When I fill the guest's memory with a known pattern
36 And I shutdown and wait for Tails to finish wiping the memory
37 Then I find very few patterns in the guest's memory
39 Scenario: Anti-test: no memory erasure on an old computer
41 And the computer is an old pentium without the PAE extension
42 And the computer has 8 GiB of RAM
43 And I set Tails to boot with options "debug=wipemem"
44 And the network is unplugged
45 And I start the computer
46 And the computer boots Tails
47 And the non-PAE kernel is running
48 And at least 3500 MiB of RAM was detected
49 And process "memlockd" is running
50 And process "udev-watchdog" is running
51 When I fill the guest's memory with a known pattern without verifying
52 And I reboot without wiping the memory
53 Then I find many patterns in the guest's memory
55 Scenario: Memory erasure on an old computer
57 And the computer is an old pentium without the PAE extension
58 And the computer has 8 GiB of RAM
59 And I set Tails to boot with options "debug=wipemem"
60 And the network is unplugged
61 And I start the computer
62 And the computer boots Tails
63 And the non-PAE kernel is running
64 And at least 3500 MiB of RAM was detected
65 And process "memlockd" is running
66 And process "udev-watchdog" is running
67 When I fill the guest's memory with a known pattern
68 And I shutdown and wait for Tails to finish wiping the memory
69 Then I find very few patterns in the guest's memory