From dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 23 Dec 2015 16:42:58 -0500 Subject: 0.9.36 testing --- test/features/test.sh | 51 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 20 deletions(-) (limited to 'test/features/test.sh') diff --git a/test/features/test.sh b/test/features/test.sh index b600cec31..c3a4f21ae 100755 --- a/test/features/test.sh +++ b/test/features/test.sh @@ -1,13 +1,17 @@ #!/bin/bash OVERLAY="overlay" +CHROOT="chroot" while [ $# -gt 0 ]; do # Until you run out of parameters . . . case "$1" in --nooverlay) - OVERLAY="" + OVERLAY="none" + ;; + --nochroot) + CHROOT="none" ;; --help) - echo "./test.sh [--nooverlay|--help] | grep TESTING" + echo "./test.sh [--nooverlay|--nochroot|--help] | grep TESTING" exit ;; esac @@ -21,59 +25,66 @@ done # Feature testing # +#################### # Default features +#################### echo "TESTING: 1.1 disable /boot" -./1.1.exp $OVERLAY +./1.1.exp $OVERLAY $CHROOT echo "TESTING: 1.2 new /proc" -./1.2.exp $OVERLAY +./1.2.exp $OVERLAY $CHROOT echo "TESTING: 1.4 mask other users" -./1.4.exp $OVERLAY +./1.4.exp $OVERLAY $CHROOT echo "TESTING: 1.5 PID namespace" -./1.5.exp $OVERLAY +./1.5.exp $OVERLAY $CHROOT echo "TESTING: 1.6 new /var/log" -./1.6.exp $OVERLAY +./1.6.exp $OVERLAY $CHROOT echo "TESTING: 1.7 new /var/tmp" -./1.7.exp $OVERLAY +./1.7.exp $OVERLAY $CHROOT echo "TESTING: 1.8 disable /etc/firejail and ~/.config/firejail" -./1.8.exp $OVERLAY +./1.8.exp $OVERLAY $CHROOT echo "TESTING: 1.10 disable /selinux" -./1.10.exp $OVERLAY +./1.10.exp $OVERLAY $CHROOT +#################### # networking features +#################### echo "TESTING: 2.1 hostname" -./2.1.exp $OVERLAY +./2.1.exp $OVERLAY $CHROOT echo "TESTING: 2.2 DNS" -./2.2.exp $OVERLAY +./2.2.exp $OVERLAY $CHROOT echo "TESTING: 2.3 mac-vlan" -./2.3.exp $OVERLAY +./2.3.exp $OVERLAY $CHROOT echo "TESTING: 2.4 bridge" -./2.4.exp $OVERLAY +./2.4.exp $OVERLAY $CHROOT echo "TESTING: 2.5 interface" -./2.5.exp $OVERLAY +./2.5.exp $OVERLAY $CHROOT echo "TESTING: 2.6 Default gateway" -./2.6.exp $OVERLAY +./2.6.exp $OVERLAY $CHROOT +#################### +# filesystem features +#################### echo "TESTING: 3.1 tmpfs" -./3.1.exp $OVERLAY +./3.1.exp $OVERLAY $CHROOT echo "TESTING: 3.2 read-only" -./3.2.exp $OVERLAY +./3.2.exp $OVERLAY $CHROOT echo "TESTING: 3.3 blacklist" -./3.3.exp $OVERLAY +./3.3.exp $OVERLAY $CHROOT echo "TESTING: 3.4 whitelist" -./3.4.exp $OVERLAY +./3.4.exp $OVERLAY $CHROOT -- cgit v1.2.3-70-g09d2