diff --git a/tests/p_freeradius/radiusd_test.sh b/tests/p_freeradius/radiusd_test.sh index fd1487b..057933c 100755 --- a/tests/p_freeradius/radiusd_test.sh +++ b/tests/p_freeradius/radiusd_test.sh @@ -21,9 +21,9 @@ service radiusd restart #Run test - t_Log "Running Test" - echo "User-Name=steve,Password=centos " | radclient -x localhost:1812 auth testing123 |grep -qc 'Access-Accept' - ret_val=$? +t_Log "Running Test" +echo "User-Name=steve,Password=centos " | radclient -x localhost:1812 auth testing123 |grep -qc 'Access-Accept' +ret_val=$? # Restore settings /bin/cp /etc/raddb/users.orig /etc/raddb/users diff --git a/tests/p_rsync/10-rsync-test.sh b/tests/p_rsync/10-rsync-test.sh index 1d8cb64..9023430 100755 --- a/tests/p_rsync/10-rsync-test.sh +++ b/tests/p_rsync/10-rsync-test.sh @@ -4,17 +4,14 @@ t_Log "Running $0 - rsync function test." -# Comparing hostname with output of phpinfo() FILE='/var/tmp/rsync-test' cat > $FILE <<EOF Testing rsync EOF -php $FILE | grep -q 'Zend Engine' - -t_CheckExitStatus $? +#t_CheckExitStatus $? #reversing changes -/bin/rm $FILE -sed -i 's/\date\.timezone\ \=\ \"Europe\/Berlin\"/\;date\.timezone\ \=/' /etc/php.ini +#/bin/rm $FILE +#sed -i 's/\date\.timezone\ \=\ \"Europe\/Berlin\"/\;date\.timezone\ \=/' /etc/php.ini diff --git a/tests/p_tcpdump/tcpdump_eth0.sh b/tests/p_tcpdump/tcpdump_eth0.sh index 5c01c91..3ed6dc7 100755 --- a/tests/p_tcpdump/tcpdump_eth0.sh +++ b/tests/p_tcpdump/tcpdump_eth0.sh @@ -32,7 +32,7 @@ if [[ $IP =~ $regex ]] ret_val=1 fi else - t_Log "Found Default-GW - skiping test" + t_Log "No Default-GW found - skiping test" ret_val=0 fi # Remove file afterwards diff --git a/tests/p_tcpdump/tcpdump_lo_ipv6.sh b/tests/p_tcpdump/tcpdump_lo_ipv6.sh index 29aa4f3..25be92e 100755 --- a/tests/p_tcpdump/tcpdump_lo_ipv6.sh +++ b/tests/p_tcpdump/tcpdump_lo_ipv6.sh @@ -4,7 +4,7 @@ t_Log "Running $0 - TCPdump test IPv6 to lo" -# Grabing IPv6 address of lo to checl if IPv6 is enabled +# Grabing IPv6 address of lo to check if IPv6 is enabled IP=$(ip addr list lo | grep 'inet6 ') regex='\t*inet6\ (.*)\/.*' if [[ $IP =~ $regex ]]