On Mon, 2009-08-03 at 15:24 +0200, [email protected] wrote: 
> From: Michal Simek <[email protected]>
> 
> We can use nobody user instead of creating new one
> for this special test. Latest busybox source
> code not support userdel, useradd that's why
> is better to use user which exists.
> 
> Signed-off-by: Michal Simek <[email protected]>

Ok.

Regards--
Subrata

> ---
>  .../kernel/syscalls/utimensat/utimensat_tests.sh   |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/testcases/kernel/syscalls/utimensat/utimensat_tests.sh 
> b/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> index 19c59c7..d0e940a 100644
> --- a/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> +++ b/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> @@ -243,8 +243,7 @@ run_test()
>  }
>  #=====================================================================
> 
> -user_tester=utimensat_tester
> -useradd $user_tester
> +user_tester=nobody
>  sudo -u $user_tester mkdir -p $TEST_DIR
> 
>  chown root $LTPROOT/testcases/bin/$TEST_PROG
> @@ -434,7 +433,6 @@ echo 
> "============================================================"
> 
>  echo
> 
> -userdel -r utimensat_tester
>  rm -rf $TEST_PROG
>  uname -a
>  date


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to