Not sure why your patches pop up very late. The below was delivered to
my mailbox(at IBM & gmail) today only. Anyways, thanks. This has been
applied.

Regards--
Subrata

On Mon, 2008-12-29 at 14:32 +0100, Jiri Palecek > wrote:
> Hello,
> 
> this patch fixes erroneous failure caused by returning return value of a 
> wrong command in cron tests.
> 
> Regards
>     Jiri Palecek
> 
> ---
> testcases/commands/cron/cron_pos_tests.sh |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/commands/cron/cron_pos_tests.sh 
> b/testcases/commands/cron/cron_pos_tests.sh
> index cc21bd3..2e24af9 100755
> --- a/testcases/commands/cron/cron_pos_tests.sh
> +++ b/testcases/commands/cron/cron_pos_tests.sh
> @@ -24,8 +24,9 @@ if [ $iam = "root" ]; then
> 
>       mv $CRON_ALLOW $CRON_ALLOW.old &> /dev/null
>       su $1 -c "$0 $*"
> +     RC=$?
>       mv $CRON_ALLOW.old $CRON_ALLOW &> /dev/null
> -     exit $?
> +     exit $RC
> fi
> 
> function restorecrontab () {
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to