Hi!
> Signed-off-by: Cui Bixuan <[email protected]>
> ---
> .../testcases/kernel/syscalls/utimensat/utimensat_tests.sh | 9
> +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git
> a/ltp-master/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> b/ltp-master/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> index b8eba51..972c81f 100755
> --- a/ltp-master/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> +++ b/ltp-master/testcases/kernel/syscalls/utimensat/utimensat_tests.sh
> @@ -300,6 +300,15 @@ nuke_sudoers()
> }
>
> sudo $s_arg -u $test_user mkdir -p $TEST_DIR
> +
> +# Make sure chattr command is supported in test dir
> +touch $TEST_DIR/tmp_file
> +chattr +a $TEST_DIR/tmp_file
> +if [ $? -ne 0 ] ; then
> + tst_resm TBROK "the chattr command is not supported in test dir"
> + exit 1
This should rather be:
tst_resm TCONF "..."
exit 32
Or even better the test should be fixed to use the test.sh library then
this could be changed to:
tst_brkm TCONF "..."
> +fi
> +
> cd $TEST_DIR
> chown root $LTPROOT/testcases/bin/$TEST_PROG
> chmod ugo+x,u+s $LTPROOT/testcases/bin/$TEST_PROG
> --
> 1.8.2.2
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list