public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] POSIX some testsets failed by permission error
@ 2010-09-29  7:02 Mitani
  2010-09-29 15:16 ` Garrett Cooper
  0 siblings, 1 reply; 3+ messages in thread
From: Mitani @ 2010-09-29  7:02 UTC (permalink / raw)
  To: ltp-list

Hi,


I noticed that following POSIX testsets failed with "Permission denied".
  - pthread_attr_getschedparam/2-1
  - pthread_attr_setschedparam/2-1
  - pthread_rwlock_destroy/2-1

------------
conformance/interfaces/pthread_attr_getschedparam/2-1: execution: FAILED:
Output: 
Unable to run child application: Permission denied
[...]
conformance/interfaces/pthread_attr_setschedparam/2-1: execution: FAILED:
Output: 
Unable to run child application: Permission denied
[...]
conformance/interfaces/pthread_rwlock_destroy/2-1: execution: FAILED:
Output: 
Unable to run child application: Permission denied
------------

They are shell scripts, but they weren't given rights of execution.

It is necessary to give them rights of execution and to make them 
into package, I think.


Regards--

-Tomonori Mitani



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] POSIX some testsets failed by permission error
  2010-09-29  7:02 [LTP] POSIX some testsets failed by permission error Mitani
@ 2010-09-29 15:16 ` Garrett Cooper
  2010-09-30  5:42   ` Mitani
  0 siblings, 1 reply; 3+ messages in thread
From: Garrett Cooper @ 2010-09-29 15:16 UTC (permalink / raw)
  To: Mitani; +Cc: ltp-list

On Wed, Sep 29, 2010 at 12:02 AM, Mitani <mitani@ryobi.co.jp> wrote:
> Hi,
>
>
> I noticed that following POSIX testsets failed with "Permission denied".
>  - pthread_attr_getschedparam/2-1
>  - pthread_attr_setschedparam/2-1
>  - pthread_rwlock_destroy/2-1
>
> ------------
> conformance/interfaces/pthread_attr_getschedparam/2-1: execution: FAILED:
> Output:
> Unable to run child application: Permission denied
> [...]
> conformance/interfaces/pthread_attr_setschedparam/2-1: execution: FAILED:
> Output:
> Unable to run child application: Permission denied
> [...]
> conformance/interfaces/pthread_rwlock_destroy/2-1: execution: FAILED:
> Output:
> Unable to run child application: Permission denied
> ------------
>
> They are shell scripts, but they weren't given rights of execution.
>
> It is necessary to give them rights of execution and to make them
> into package, I think.

How did you execute the tests?
-Garrett

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] POSIX some testsets failed by permission error
  2010-09-29 15:16 ` Garrett Cooper
@ 2010-09-30  5:42   ` Mitani
  0 siblings, 0 replies; 3+ messages in thread
From: Mitani @ 2010-09-30  5:42 UTC (permalink / raw)
  To: 'Garrett Cooper'; +Cc: ltp-list

> -----Original Message-----
> From: Garrett Cooper [mailto:yanegomi@gmail.com]
> Sent: Thursday, September 30, 2010 12:16 AM
> To: Mitani
> Cc: ltp-list@lists.sourceforge.net
> Subject: Re: [LTP] POSIX some testsets failed by permission error
> 
> On Wed, Sep 29, 2010 at 12:02 AM, Mitani <mitani@ryobi.co.jp> wrote:
> > Hi,
> >
> >
> > I noticed that following POSIX testsets failed with "Permission
> denied".
> >  - pthread_attr_getschedparam/2-1
> >  - pthread_attr_setschedparam/2-1
> >  - pthread_rwlock_destroy/2-1
> >
> > ------------
> > conformance/interfaces/pthread_attr_getschedparam/2-1: execution:
> FAILED:
> > Output:
> > Unable to run child application: Permission denied
> > [...]
> > conformance/interfaces/pthread_attr_setschedparam/2-1: execution:
> FAILED:
> > Output:
> > Unable to run child application: Permission denied
> > [...]
> > conformance/interfaces/pthread_rwlock_destroy/2-1: execution:
> FAILED:
> > Output:
> > Unable to run child application: Permission denied
> > ------------
> >
> > They are shell scripts, but they weren't given rights of execution.
> >
> > It is necessary to give them rights of execution and to make them
> > into package, I think.
> 
> How did you execute the tests?
> -Garrett


I build and run tests as follows:
------------
  - tar -zxvf ltp-git-XXXX.tar.gz
  - make distclean
  - make all
  - make test
------------


I confirmed their permission:
------------
[root@RHEL55-LTP-x86 pthread_attr_getschedparam]# ls -l
total 36
-rw-rw-r-- 1 root root 2752 Sep 20 23:22 1-1.c
-rwxr-xr-x 1 root root 6742 Sep 21 11:48 1-1.run-test
-rw-rw-r-- 1 root root  453 Sep 20 23:22 2-1.sh
-rw-rw-r-- 1 root root   10 Sep 20 23:22 LDLIBS
-rw-r--r-- 1 root root 1700 Sep 21 11:47 Makefile
-rw-rw-r-- 1 root root  552 Sep 20 23:22 assertions.xml
-rw-rw-r-- 1 root root  120 Sep 20 23:22 coverage.txt
-rwxr-xr-x 1 root root  105 Sep 21 11:55 run.sh

[root@RHEL55-LTP-x86 pthread_attr_setschedparam]# ls -l
total 76
-rw-rw-r-- 1 root root 2194 Sep 20 23:22 1-1.c
-rwxr-xr-x 1 root root 6926 Sep 21 11:48 1-1.run-test
-rw-rw-r-- 1 root root 2184 Sep 20 23:22 1-2.c
-rwxr-xr-x 1 root root 6926 Sep 21 11:48 1-2.run-test
-rw-rw-r-- 1 root root 2801 Sep 20 23:22 1-3.c
-rwxr-xr-x 1 root root 6911 Sep 21 11:48 1-3.run-test
-rw-rw-r-- 1 root root 2904 Sep 20 23:22 1-4.c
-rwxr-xr-x 1 root root 7013 Sep 21 11:48 1-4.run-test
-rw-rw-r-- 1 root root  453 Sep 20 23:22 2-1.sh
-rw-rw-r-- 1 root root   10 Sep 20 23:22 LDLIBS
-rw-r--r-- 1 root root 3005 Sep 21 11:47 Makefile
-rw-rw-r-- 1 root root  802 Sep 20 23:22 assertions.xml
-rw-rw-r-- 1 root root  323 Sep 20 23:22 coverage.txt
-rwxr-xr-x 1 root root  118 Sep 21 11:55 run.sh
drwxrwxr-x 2 root root 4096 Sep 21 11:47 speculative

[root@RHEL55-LTP-x86 pthread_rwlock_destroy]# ls -l
total 48
-rw-rw-r-- 1 root root 1113 Sep 20 23:22 1-1.c
-rwxr-xr-x 1 root root 5390 Sep 21 11:48 1-1.run-test
-rw-rw-r-- 1 root root  397 Sep 20 23:22 2-1.sh
-rw-rw-r-- 1 root root 1395 Sep 20 23:22 3-1.c
-rwxr-xr-x 1 root root 5707 Sep 21 11:48 3-1.run-test
-rw-rw-r-- 1 root root   10 Sep 20 23:22 LDLIBS
-rw-r--r-- 1 root root 2128 Sep 21 11:47 Makefile
-rw-rw-r-- 1 root root  782 Sep 20 23:22 assertions.xml
-rw-rw-r-- 1 root root  156 Sep 20 23:22 coverage.txt
-rwxr-xr-x 1 root root  114 Sep 21 12:48 run.sh
------------

Aren't they given execution permission because they aren't implemented?

I tried to execute them with permission, and successed.
------------
[root@centos5-5 open_posix_testsuite]# chmod 775
conformance/interfaces/pthread_attr_getschedparam/2-1.sh
[root@centos5-5 open_posix_testsuite]# chmod 775
conformance/interfaces/pthread_attr_setschedparam/2-1.sh
[root@centos5-5 open_posix_testsuite]# chmod 775
conformance/interfaces/pthread_rwlock_destroy/2-1.sh
[root@centos5-5 open_posix_testsuite]# make test > make_test_2.txt 2>&1
[root@centos5-5 open_posix_testsuite]# echo $?
2
[root@centos5-5 open_posix_testsuite]# grep Permission
logfile.conformance-test
[root@centos5-5 open_posix_testsuite]#
[root@centos5-5 open_posix_testsuite]# grep
conformance/interfaces/pthread_attr_getschedparam/2-1
logfile.conformance-test
conformance/interfaces/pthread_attr_getschedparam/2-1: execution: PASS
[root@centos5-5 open_posix_testsuite]# grep
conformance/interfaces/pthread_attr_setschedparam/2-1
logfile.conformance-test
conformance/interfaces/pthread_attr_setschedparam/2-1: execution: PASS
[root@centos5-5 open_posix_testsuite]# grep
conformance/interfaces/pthread_rwlock_destroy/2-1 logfile.conformance-test
conformance/interfaces/pthread_rwlock_destroy/2-1: execution: PASS
------------


Thank you--

-Tomonori Mitani




------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-30  5:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29  7:02 [LTP] POSIX some testsets failed by permission error Mitani
2010-09-29 15:16 ` Garrett Cooper
2010-09-30  5:42   ` Mitani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox