[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.2-130-gc01aa96
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2013-01-26 13:50:12
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via c01aa961bcb22f9105131c3dacf9729480e09e68 (commit)
from 11e9d0e5b32d758f8e6d12837ddf6b5c58de4bc3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c01aa961bcb22f9105131c3dacf9729480e09e68
Author: Julien Boibessot <jul...@ar...>
Date: Sat Jan 26 14:45:52 2013 +0100
[TEST] Fixes RTC test
-----------------------------------------------------------------------
Summary of changes:
target/test/test_rtc.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/target/test/test_rtc.sh b/target/test/test_rtc.sh
index 576acd8..2275260 100755
--- a/target/test/test_rtc.sh
+++ b/target/test/test_rtc.sh
@@ -35,6 +35,7 @@ test_rtc()
echo "Trying to get current time with NTP"
ntpd -nqp 217.147.208.1
+ echo "Current time:"
date
if [ "$?" == 0 ]; then
echo "Please wait "$TEST_DURATION"s"
@@ -46,8 +47,9 @@ test_rtc()
DATE=`date +:%T`
AFTER=`convert_in_secs $DATE`
DIFF=$(($AFTER - $BEFORE - $TEST_DURATION))
-
+ echo "RTC stored time after $TEST_DURATION secs:"
date
+ DIFF=`echo ${DIFF#-}` # abs() value
if [ "$DIFF" -gt "$TOLERANCE" ]; then
echo "$AFTER $BEFORE ($DIFF)"
exit_failed
hooks/post-receive
--
armadeus
|