aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/test.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
commit686bc51e38b0718651e82818871b0bf1451c8b21 (patch)
tree521f5fc2123c4782493fc86b46cc41533acb85db /test/features/test.sh
parent0.9.36 testing (diff)
downloadfirejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.gz
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.zst
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.zip
0.9.36 testing
Diffstat (limited to 'test/features/test.sh')
-rwxr-xr-xtest/features/test.sh53
1 files changed, 35 insertions, 18 deletions
diff --git a/test/features/test.sh b/test/features/test.sh
index e49dfc3f0..b600cec31 100755
--- a/test/features/test.sh
+++ b/test/features/test.sh
@@ -1,4 +1,21 @@
1#!/bin/bash 1#!/bin/bash
2OVERLAY="overlay"
3
4while [ $# -gt 0 ]; do # Until you run out of parameters . . .
5 case "$1" in
6 --nooverlay)
7 OVERLAY=""
8 ;;
9 --help)
10 echo "./test.sh [--nooverlay|--help] | grep TESTING"
11 exit
12 ;;
13 esac
14 shift # Check next set of parameters.
15done
16
17
18
2 19
3# 20#
4# Feature testing 21# Feature testing
@@ -6,57 +23,57 @@
6 23
7# Default features 24# Default features
8echo "TESTING: 1.1 disable /boot" 25echo "TESTING: 1.1 disable /boot"
9./1.1.exp 26./1.1.exp $OVERLAY
10 27
11echo "TESTING: 1.2 new /proc" 28echo "TESTING: 1.2 new /proc"
12./1.2.exp 29./1.2.exp $OVERLAY
13 30
14echo "TESTING: 1.4 mask other users" 31echo "TESTING: 1.4 mask other users"
15./1.4.exp 32./1.4.exp $OVERLAY
16 33
17echo "TESTING: 1.5 PID namespace" 34echo "TESTING: 1.5 PID namespace"
18./1.5.exp 35./1.5.exp $OVERLAY
19 36
20echo "TESTING: 1.6 new /var/log" 37echo "TESTING: 1.6 new /var/log"
21./1.6.exp 38./1.6.exp $OVERLAY
22 39
23echo "TESTING: 1.7 new /var/tmp" 40echo "TESTING: 1.7 new /var/tmp"
24./1.7.exp 41./1.7.exp $OVERLAY
25 42
26echo "TESTING: 1.8 disable /etc/firejail and ~/.config/firejail" 43echo "TESTING: 1.8 disable /etc/firejail and ~/.config/firejail"
27./1.8.exp 44./1.8.exp $OVERLAY
28 45
29echo "TESTING: 1.10 disable /selinux" 46echo "TESTING: 1.10 disable /selinux"
30./1.10.exp 47./1.10.exp $OVERLAY
31 48
32# networking features 49# networking features
33echo "TESTING: 2.1 hostname" 50echo "TESTING: 2.1 hostname"
34./2.1.exp 51./2.1.exp $OVERLAY
35 52
36echo "TESTING: 2.2 DNS" 53echo "TESTING: 2.2 DNS"
37./2.2.exp 54./2.2.exp $OVERLAY
38 55
39echo "TESTING: 2.3 mac-vlan" 56echo "TESTING: 2.3 mac-vlan"
40./2.3.exp 57./2.3.exp $OVERLAY
41 58
42echo "TESTING: 2.4 bridge" 59echo "TESTING: 2.4 bridge"
43./2.4.exp 60./2.4.exp $OVERLAY
44 61
45echo "TESTING: 2.5 interface" 62echo "TESTING: 2.5 interface"
46./2.5.exp 63./2.5.exp $OVERLAY
47 64
48echo "TESTING: 2.6 Default gateway" 65echo "TESTING: 2.6 Default gateway"
49./2.6.exp 66./2.6.exp $OVERLAY
50 67
51echo "TESTING: 3.1 tmpfs" 68echo "TESTING: 3.1 tmpfs"
52./3.1.exp 69./3.1.exp $OVERLAY
53 70
54echo "TESTING: 3.2 read-only" 71echo "TESTING: 3.2 read-only"
55./3.2.exp 72./3.2.exp $OVERLAY
56 73
57echo "TESTING: 3.3 blacklist" 74echo "TESTING: 3.3 blacklist"
58./3.3.exp 75./3.3.exp $OVERLAY
59 76
60echo "TESTING: 3.4 whitelist" 77echo "TESTING: 3.4 whitelist"
61./3.4.exp 78./3.4.exp $OVERLAY
62 79