summaryrefslogtreecommitdiff
path: root/tests/runtime/automatic-dmcrypt-lvm-install-sda/perform_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtime/automatic-dmcrypt-lvm-install-sda/perform_test.sh')
-rw-r--r--tests/runtime/automatic-dmcrypt-lvm-install-sda/perform_test.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/runtime/automatic-dmcrypt-lvm-install-sda/perform_test.sh b/tests/runtime/automatic-dmcrypt-lvm-install-sda/perform_test.sh
new file mode 100644
index 0000000..4066922
--- /dev/null
+++ b/tests/runtime/automatic-dmcrypt-lvm-install-sda/perform_test.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+source /usr/share/aif/tests/lib/framework-runtime
+
+aiftest swap 19
+aiftest lvm-lv mypool root '800.00 MB'
+aiftest mount '/dev/mapper/mypool-rootcrypt on / type xfs (rw)'
+for i in /etc/ / /root/ /home/ /var/
+do
+ aiftest file "$i"test_file
+done
+aiftest file /usr/bin/ssh
+aiftest nofile /sbin/mkfs.reiserfs
+aiftest nopackage sudo
+aiftest ping 2 archlinux.org
+
+aiftest-done