export SYSTEMTESTTOP
+date_with_args() (
+ date "+%Y-%m-%dT%T%z"
+)
+
stopservers=true
baseport=5300
fi
}
-echostart "S:$systest:`date`"
+echostart "S:$systest:$(date_with_args)"
echoinfo "T:$systest:1:A"
echoinfo "A:$systest:System test $systest"
echoinfo "I:$systest:PORTRANGE:${LOWPORT} - ${HIGHPORT}"
then
echowarn "I:$systest:Perl not available. Skipping test."
echowarn "R:$systest:UNTESTED"
- echoend "E:$systest:`date $dateargs`"
+ echoend "E:$systest:$(date_with_args)"
exit 0;
fi
$PERL testsock.pl -p $PORT || {
echowarn "I:$systest:Network interface aliases not set up. Skipping test."
echowarn "R:$systest:UNTESTED"
- echoend "E:$systest:`date $dateargs`"
+ echoend "E:$systest:$(date_with_args)"
exit 0;
}
else
echowarn "I:$systest:Prerequisites missing, skipping test."
[ $result -eq 255 ] && echowarn "R:$systest:SKIPPED" || echowarn "R:$systest:UNTESTED"
- echoend "E:$systest:`date $dateargs`"
+ echoend "E:$systest:$(date_with_args)"
exit 0
fi
else
echowarn "I:$systest:Need PKCS#11, skipping test."
echowarn "R:$systest:PKCS11ONLY"
- echoend "E:$systest:`date $dateargs`"
+ echoend "E:$systest:$(date_with_args)"
exit 0
fi
fi
fi
-echoend "E:$systest:`date $dateargs`"
+echoend "E:$systest:$(date_with_args)"
exit $status