diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-23 21:20:14 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-23 21:20:14 -0500 |
commit | c0dc4e056589c41b423e9a5c1fe5edd2b845967a (patch) | |
tree | e61d391ac05062514c2ae692378ac8171a02da59 /test/features/test.sh | |
parent | 0.9.36 testing (diff) | |
download | firejail-c0dc4e056589c41b423e9a5c1fe5edd2b845967a.tar.gz firejail-c0dc4e056589c41b423e9a5c1fe5edd2b845967a.tar.zst firejail-c0dc4e056589c41b423e9a5c1fe5edd2b845967a.zip |
0.9.36 testing
Diffstat (limited to 'test/features/test.sh')
-rwxr-xr-x | test/features/test.sh | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/test/features/test.sh b/test/features/test.sh index c3a4f21ae..d4bcead0b 100755 --- a/test/features/test.sh +++ b/test/features/test.sh | |||
@@ -1,6 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | OVERLAY="overlay" | 2 | OVERLAY="overlay" |
3 | CHROOT="chroot" | 3 | CHROOT="chroot" |
4 | NETWORK="network" | ||
4 | 5 | ||
5 | while [ $# -gt 0 ]; do # Until you run out of parameters . . . | 6 | while [ $# -gt 0 ]; do # Until you run out of parameters . . . |
6 | case "$1" in | 7 | case "$1" in |
@@ -10,8 +11,11 @@ while [ $# -gt 0 ]; do # Until you run out of parameters . . . | |||
10 | --nochroot) | 11 | --nochroot) |
11 | CHROOT="none" | 12 | CHROOT="none" |
12 | ;; | 13 | ;; |
14 | --nonetwork) | ||
15 | NETWORK="none" | ||
16 | ;; | ||
13 | --help) | 17 | --help) |
14 | echo "./test.sh [--nooverlay|--nochroot|--help] | grep TESTING" | 18 | echo "./test.sh [--nooverlay|--nochroot|--nonetwork|--help] | grep TESTING" |
15 | exit | 19 | exit |
16 | ;; | 20 | ;; |
17 | esac | 21 | esac |
@@ -55,23 +59,26 @@ echo "TESTING: 1.10 disable /selinux" | |||
55 | #################### | 59 | #################### |
56 | # networking features | 60 | # networking features |
57 | #################### | 61 | #################### |
58 | echo "TESTING: 2.1 hostname" | 62 | if [ $NETWORK == "network" ] |
59 | ./2.1.exp $OVERLAY $CHROOT | 63 | then |
64 | echo "TESTING: 2.1 hostname" | ||
65 | ./2.1.exp $OVERLAY $CHROOT | ||
60 | 66 | ||
61 | echo "TESTING: 2.2 DNS" | 67 | echo "TESTING: 2.2 DNS" |
62 | ./2.2.exp $OVERLAY $CHROOT | 68 | ./2.2.exp $OVERLAY $CHROOT |
63 | 69 | ||
64 | echo "TESTING: 2.3 mac-vlan" | 70 | echo "TESTING: 2.3 mac-vlan" |
65 | ./2.3.exp $OVERLAY $CHROOT | 71 | ./2.3.exp $OVERLAY $CHROOT |
66 | 72 | ||
67 | echo "TESTING: 2.4 bridge" | 73 | echo "TESTING: 2.4 bridge" |
68 | ./2.4.exp $OVERLAY $CHROOT | 74 | ./2.4.exp $OVERLAY $CHROOT |
69 | 75 | ||
70 | echo "TESTING: 2.5 interface" | 76 | echo "TESTING: 2.5 interface" |
71 | ./2.5.exp $OVERLAY $CHROOT | 77 | ./2.5.exp $OVERLAY $CHROOT |
72 | 78 | ||
73 | echo "TESTING: 2.6 Default gateway" | 79 | echo "TESTING: 2.6 Default gateway" |
74 | ./2.6.exp $OVERLAY $CHROOT | 80 | ./2.6.exp $OVERLAY $CHROOT |
81 | fi | ||
75 | 82 | ||
76 | #################### | 83 | #################### |
77 | # filesystem features | 84 | # filesystem features |