diff mbox

arg-log-format-0001/test-0001.sh: sync up the date as klog-0001.log

Message ID 1337755792-26904-1-git-send-email-kengyu@canonical.com
State Accepted
Headers show

Commit Message

Keng-Yu Lin May 23, 2012, 6:49 a.m. UTC
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
---
 arg-log-format-0001/test-0001.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King May 23, 2012, 7:59 a.m. UTC | #1
On 23/05/12 07:49, Keng-Yu Lin wrote:
> Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
> ---
>   arg-log-format-0001/test-0001.sh |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arg-log-format-0001/test-0001.sh b/arg-log-format-0001/test-0001.sh
> index 75c1c9e..ac536c4 100755
> --- a/arg-log-format-0001/test-0001.sh
> +++ b/arg-log-format-0001/test-0001.sh
> @@ -10,7 +10,7 @@ $FWTS -w 80 --klog=klog.txt --log-format="%owner (%line) <%date> %field %level:
>   #
>   #  Need to adjust reference log to today's date
>   #
> -sed sx10\/10\/11x${TODAY}x < klog-0001.log > $TMPLOG_ORIG
> +sed sx16\/05\/12x${TODAY}x < klog-0001.log > $TMPLOG_ORIG
>   diff $TMPLOG $TMPLOG_ORIG >> $FAILURE_LOG
>   ret=$?
>   if [ $ret -eq 0 ]; then
>

Thanks Keng-Yu, seems like I need to re-test my tests 24 hours later to 
catch my stupid mistakes like this. Doh.

Acked-by: Colin Ian King <colin.king@canonical.com>
Alex Hung May 24, 2012, 8:49 a.m. UTC | #2
On 05/23/2012 02:49 PM, Keng-Yu Lin wrote:
> Signed-off-by: Keng-Yu Lin<kengyu@canonical.com>
> ---
>   arg-log-format-0001/test-0001.sh |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arg-log-format-0001/test-0001.sh b/arg-log-format-0001/test-0001.sh
> index 75c1c9e..ac536c4 100755
> --- a/arg-log-format-0001/test-0001.sh
> +++ b/arg-log-format-0001/test-0001.sh
> @@ -10,7 +10,7 @@ $FWTS -w 80 --klog=klog.txt --log-format="%owner (%line)<%date>  %field %level:
>   #
>   #  Need to adjust reference log to today's date
>   #
> -sed sx10\/10\/11x${TODAY}x<  klog-0001.log>  $TMPLOG_ORIG
> +sed sx16\/05\/12x${TODAY}x<  klog-0001.log>  $TMPLOG_ORIG
>   diff $TMPLOG $TMPLOG_ORIG>>  $FAILURE_LOG
>   ret=$?
>   if [ $ret -eq 0 ]; then
Acked-by: Alex Hung <alex.hung@canonical.com>
diff mbox

Patch

diff --git a/arg-log-format-0001/test-0001.sh b/arg-log-format-0001/test-0001.sh
index 75c1c9e..ac536c4 100755
--- a/arg-log-format-0001/test-0001.sh
+++ b/arg-log-format-0001/test-0001.sh
@@ -10,7 +10,7 @@  $FWTS -w 80 --klog=klog.txt --log-format="%owner (%line) <%date> %field %level:
 #
 #  Need to adjust reference log to today's date
 #
-sed sx10\/10\/11x${TODAY}x < klog-0001.log > $TMPLOG_ORIG
+sed sx16\/05\/12x${TODAY}x < klog-0001.log > $TMPLOG_ORIG
 diff $TMPLOG $TMPLOG_ORIG >> $FAILURE_LOG
 ret=$?
 if [ $ret -eq 0 ]; then