summaryrefslogtreecommitdiffstats
path: root/features/untrusted_partitions.feature
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2014-12-19 00:40:08 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-21 09:45:40 +0100
commit51680b6ebb645d37ebdfcd122ca163b3a638aefa (patch)
tree337e128d2eac3cbc89ecbacf38851bfa33469cd5 /features/untrusted_partitions.feature
parent44bab3c86ca3d95837f4c50cc535206352385a46 (diff)
downloadjenkins.debian.net-51680b6ebb645d37ebdfcd122ca163b3a638aefa.tar.xz
files copied from https://git-tails.immerda.ch/tails - many thanks to the tails developers for their nice work and documentation of it - these files have been released under the GNU General Public License version 3 or (at your option) any later version
features/images has been omitted
Diffstat (limited to 'features/untrusted_partitions.feature')
-rw-r--r--features/untrusted_partitions.feature41
1 files changed, 41 insertions, 0 deletions
diff --git a/features/untrusted_partitions.feature b/features/untrusted_partitions.feature
new file mode 100644
index 00000000..816fbe7e
--- /dev/null
+++ b/features/untrusted_partitions.feature
@@ -0,0 +1,41 @@
+@product
+Feature: Untrusted partitions
+ As a Tails user
+ I don't want to touch other media than the one Tails runs from
+
+ @keep_volumes
+ Scenario: Tails can boot from live systems stored on hard drives
+ Given a computer
+ And I create a 2 GiB disk named "live_hd"
+ And I cat an ISO hybrid of the Tails image to disk "live_hd"
+ And the computer is set to boot from ide drive "live_hd"
+ And I set Tails to boot with options "live-media="
+ And I start Tails from DVD with network unplugged and I login
+ Then Tails seems to have booted normally
+
+ Scenario: Tails booting from a DVD does not use live systems stored on hard drives
+ Given a computer
+ And I plug ide drive "live_hd"
+ And I start Tails from DVD with network unplugged and I login
+ Then drive "live_hd" is detected by Tails
+ And drive "live_hd" is not mounted
+
+ Scenario: Booting Tails does not automount untrusted ext2 partitions
+ Given a computer
+ And I create a 100 MiB disk named "gpt_ext2"
+ And I create a gpt label on disk "gpt_ext2"
+ And I create a ext2 filesystem on disk "gpt_ext2"
+ And I plug ide drive "gpt_ext2"
+ And I start Tails from DVD with network unplugged and I login
+ Then drive "gpt_ext2" is detected by Tails
+ And drive "gpt_ext2" is not mounted
+
+ Scenario: Booting Tails does not automount untrusted fat32 partitions
+ Given a computer
+ And I create a 100 MiB disk named "msdos_fat32"
+ And I create a msdos label on disk "msdos_fat32"
+ And I create a fat32 filesystem on disk "msdos_fat32"
+ And I plug ide drive "msdos_fat32"
+ And I start Tails from DVD with network unplugged and I login
+ Then drive "msdos_fat32" is detected by Tails
+ And drive "msdos_fat32" is not mounted