From c0dc4e056589c41b423e9a5c1fe5edd2b845967a Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 23 Dec 2015 21:20:14 -0500 Subject: 0.9.36 testing --- test/features/test.sh | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'test/features/test.sh') 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 @@ #!/bin/bash OVERLAY="overlay" CHROOT="chroot" +NETWORK="network" while [ $# -gt 0 ]; do # Until you run out of parameters . . . case "$1" in @@ -10,8 +11,11 @@ while [ $# -gt 0 ]; do # Until you run out of parameters . . . --nochroot) CHROOT="none" ;; + --nonetwork) + NETWORK="none" + ;; --help) - echo "./test.sh [--nooverlay|--nochroot|--help] | grep TESTING" + echo "./test.sh [--nooverlay|--nochroot|--nonetwork|--help] | grep TESTING" exit ;; esac @@ -55,23 +59,26 @@ echo "TESTING: 1.10 disable /selinux" #################### # networking features #################### -echo "TESTING: 2.1 hostname" -./2.1.exp $OVERLAY $CHROOT +if [ $NETWORK == "network" ] +then + echo "TESTING: 2.1 hostname" + ./2.1.exp $OVERLAY $CHROOT -echo "TESTING: 2.2 DNS" -./2.2.exp $OVERLAY $CHROOT + echo "TESTING: 2.2 DNS" + ./2.2.exp $OVERLAY $CHROOT -echo "TESTING: 2.3 mac-vlan" -./2.3.exp $OVERLAY $CHROOT + echo "TESTING: 2.3 mac-vlan" + ./2.3.exp $OVERLAY $CHROOT -echo "TESTING: 2.4 bridge" -./2.4.exp $OVERLAY $CHROOT + echo "TESTING: 2.4 bridge" + ./2.4.exp $OVERLAY $CHROOT -echo "TESTING: 2.5 interface" -./2.5.exp $OVERLAY $CHROOT + echo "TESTING: 2.5 interface" + ./2.5.exp $OVERLAY $CHROOT -echo "TESTING: 2.6 Default gateway" -./2.6.exp $OVERLAY $CHROOT + echo "TESTING: 2.6 Default gateway" + ./2.6.exp $OVERLAY $CHROOT +fi #################### # filesystem features -- cgit v1.2.3-54-g00ecf