blob: 390ee63157a7c3010e1568af2eb46d3e2b453f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/bash
source /usr/share/aif/tests/lib/framework-runtime
aiftest swap 19
aiftest lvm-lv cryptpool cryptroot '800.00 MB'
aiftest mount '/dev/mapper/cryptpool-cryptroot on / type xfs (rw)'
aiftest mount '/dev/mapper/cryptpool-crypthome on /home 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
[ -f "$i/test_file" ] || echo "TEST FAILED. NO FILE $i/test_file"
ping -c 2 archlinux.org || echo 'PING CHECK FAILED'
|