]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - testing/do-tests
ikev1: Get and set the lifetimes of the selected proposal/transform
[thirdparty/strongswan.git] / testing / do-tests
index 77d5eccdf1bb77a9da470bb0db45afdd9f77e20a..fad3af8cd57d49c1de9d8a44613bd76a657014b7 100755 (executable)
@@ -51,11 +51,15 @@ subdir_cnt="0"
 ##############################################################################
 # parse optional arguments
 #
-while getopts "v" opt
+while getopts "vt" opt
 do
        case "$opt" in
        v)
                verbose=YES
+               timestamps=YES
+               ;;
+       t)
+               timestamps=YES
                ;;
        esac
 done
@@ -64,7 +68,7 @@ shift $((OPTIND-1))
 
 function print_time()
 {
-       [ "$verbose" == "YES" ] && echo "$(date +%T.%N) ~ "
+       [ "$timestamps" == "YES" ] && echo "$(date +%T.%N) ~ "
 }
 
 ##############################################################################