Skip to contentSkip to conversation

"libevent01" test failure with ltp-2009-12-10 cvs

LTP Mitani 3 participants 6 messages Dec 10, 2009 – Jan 13, 2010

lore
Share & tools
lore

Mitani

author
#0 lore raw

Hi,

I got following message when I ran test of "libevent01" with ltp-2009-12-10 cvs.

------------
sh: run_libevent.sh: command not found
------------

This occured because "run_libevent.sh" was not installed under the "/opt/ltp" directory, I think.

Certainly, this test successed when I copied "${LTPROOT}/testcases/kernel/syscalls/libevent/run_libevent.sh" file to the "/opt/ltp/testcases/bin" directory.

So, I want to suggest the following revision:

1. Install "run_libevent.sh" to under the "/opt/ltp/testcases/bin" directory by default.
(I don't know how to revise Makefile etc.)

2. Apply the following patch to "run_libevent.sh".

============

run_libevent.sh.new renamed from run_libevent.sh +1 -1
@@ -31,7 +31,7 @@
 	tst_resm TCONF "You need to be root to run these tests"
 	TST_EXIT=0
 else
-	"$LTPROOT/testcases/bin/tests/test-libevent.sh"
+	"$LTPROOT/testcases/bin/libevent/test/test-libevent.sh"
 	TST_EXIT=$?
 fi
 tst_cleanup

============

Regards--

-Tomonori MItani

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 34 lines · Mitani

Hi,

I got following message when I ran test of "libevent01" with ltp-2009-12-10 cvs.

------------
sh: run_libevent.sh: command not found
------------

This occured because "run_libevent.sh" was not installed under the "/opt/ltp" directory, I think.

Certainly, this test successed when I copied "${LTPROOT}/testcases/kernel/syscalls/libevent/run_libevent.sh" file to the "/opt/ltp/testcases/bin" directory.

So, I want to suggest the following revision:

1. Install "run_libevent.sh" to under the "/opt/ltp/testcases/bin" directory by default.
(I don't know how to revise Makefile etc.)

2. Apply the following patch to "run_libevent.sh".

============

run_libevent.sh.new renamed from run_libevent.sh +0 -0
@@ -31,7 +31,7 @@
 	tst_resm TCONF "You need to be root to run these tests"
 	TST_EXIT=0

else

run_libevent.sh.new renamed from run_libevent.sh +1 -1
-	"$LTPROOT/testcases/bin/tests/test-libevent.sh"
+	"$LTPROOT/testcases/bin/libevent/test/test-libevent.sh"
	TST_EXIT=$?
Quoted 3 lines

fi
tst_cleanup
============

Done -- thanks!
-Garrett

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw

Hi Garrett,

I'm still running into this issue with LTP-20091231

Regards,
-
Lucio Correia
Software Engineer
IBM LTC Brazil

Quoted 43 lines · Garrett Cooper
Quoted 34 lines · Mitani

Hi,

I got following message when I ran test of "libevent01" with ltp-2009-12-10 cvs.

------------
sh: run_libevent.sh: command not found
------------

This occured because "run_libevent.sh" was not installed under the "/opt/ltp" directory, I think.

Certainly, this test successed when I copied "${LTPROOT}/testcases/kernel/syscalls/libevent/run_libevent.sh" file to the "/opt/ltp/testcases/bin" directory.

So, I want to suggest the following revision:

1. Install "run_libevent.sh" to under the "/opt/ltp/testcases/bin" directory by default.
(I don't know how to revise Makefile etc.)

2. Apply the following patch to "run_libevent.sh".

============

run_libevent.sh.new renamed from run_libevent.sh +0 -0
@@ -31,7 +31,7 @@
 	tst_resm TCONF "You need to be root to run these tests"
 	TST_EXIT=0

else

run_libevent.sh.new renamed from run_libevent.sh +1 -1
-	"$LTPROOT/testcases/bin/tests/test-libevent.sh"
+	"$LTPROOT/testcases/bin/libevent/test/test-libevent.sh"
	TST_EXIT=$?
Quoted 3 lines

fi
tst_cleanup
============

Done -- thanks!
-Garrett

Quoted 9 lines

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
Quoted 3 lines · Lucio Correia

Hi Garrett,

I'm still running into this issue with LTP-20091231

Hi Lucio,
What's the error message and how are you trying to run the test? Thanks,
-Garrett

Quoted 27 lines · Garrett Cooper
Quoted 26 lines · Mitani
Quoted 25 lines

Hi,

I got following message when I ran test of "libevent01" with ltp-2009-12-10 cvs.

------------
sh: run_libevent.sh: command not found
------------

This occured because "run_libevent.sh" was not installed under the "/opt/ltp" directory, I think.

Certainly, this test successed when I copied "${LTPROOT}/testcases/kernel/syscalls/libevent/run_libevent.sh" file to the "/opt/ltp/testcases/bin" directory.

So, I want to suggest the following revision:

1. Install "run_libevent.sh" to under the "/opt/ltp/testcases/bin" directory by default.
 (I don't know how to revise Makefile etc.)

2. Apply the following patch to "run_libevent.sh".

Quoted 15 lines
Quoted 7 lines
Quoted 7 lines

============

run_libevent.sh.new     2009-12-10 16:44:02.000000000 +0900 renamed from run_libevent.sh 2009-11-20 04:08:36.000000000 +0900 +0 -0
@@ -31,7 +31,7 @@

    tst_resm TCONF "You need to be root to run these tests" TST_EXIT=0
else

Quoted 8 lines
Quoted 6 lines

-   "$LTPROOT/testcases/bin/tests/test-libevent.sh"
+   "$LTPROOT/testcases/bin/libevent/test/test-libevent.sh" TST_EXIT=$?
fi
tst_cleanup
============

Done -- thanks!

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#4 lore raw

Hi Garrett,

I'm running on a ppc64 machine.

From ltp all tests run .log file:

lchown02 7 TPASS : lchown() fails, Path contains regular file,
errno:20
sh: run_libevent.sh: command not found
link01 1 TPASS : link(2) to a symbolic link, which is pointing
to an existing object file worked - file created and link count adjusted

I searched for run_libevent.sh and found it
at /opt/ltp/testcases/bin/libevent dir.

I'm running it manually by (same commands .failcmdfile gives):

# export LTPROOT; run_libevent.sh
bash: run_libevent.sh: command not found
# export LTPROOT; ./testcases/bin/libevent/run_libevent.sh
Running tests:
KQUEUE
Skipping test
POLL
Skipping test
SELECT
Skipping test
RTSIG
Skipping test
EPOLL
Skipping test
libevent01    0  TINFO  :  Cleaning up.

Thanks,

-
Lucio Correia
Software Engineer
IBM LTC Brazil

Quoted 52 lines · Garrett Cooper
Quoted 3 lines · Lucio Correia

Hi Garrett,

I'm still running into this issue with LTP-20091231

Hi Lucio,
What's the error message and how are you trying to run the test? Thanks,
-Garrett

Quoted 42 lines · Garrett Cooper
Quoted 41 lines · Mitani
Quoted 35 lines

Hi,

I got following message when I ran test of "libevent01" with ltp-2009-12-10 cvs.

------------
sh: run_libevent.sh: command not found
------------

This occured because "run_libevent.sh" was not installed under the "/opt/ltp" directory, I think.

Certainly, this test successed when I copied "${LTPROOT}/testcases/kernel/syscalls/libevent/run_libevent.sh" file to the "/opt/ltp/testcases/bin" directory.

So, I want to suggest the following revision:

1. Install "run_libevent.sh" to under the "/opt/ltp/testcases/bin" directory by default.
(I don't know how to revise Makefile etc.)

2. Apply the following patch to "run_libevent.sh".

============

run_libevent.sh.new 2009-12-10 16:44:02.000000000 +0900 renamed from run_libevent.sh 2009-11-20 04:08:36.000000000 +0900 +0 -0
@@ -31,7 +31,7 @@
    tst_resm TCONF "You need to be root to run these tests"
    TST_EXIT=0

else

run_libevent.sh.new 2009-12-10 16:44:02.000000000 +0900 renamed from run_libevent.sh 2009-11-20 04:08:36.000000000 +0900 +1 -1
-   "$LTPROOT/testcases/bin/tests/test-libevent.sh"
+   "$LTPROOT/testcases/bin/libevent/test/test-libevent.sh"
    TST_EXIT=$?
Quoted 3 lines

fi
tst_cleanup
============

Done -- thanks!

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#5 lore raw
Quoted 33 lines · Lucio Correia

Hi Garrett,

I'm running on a ppc64 machine.

Quoted 1 line

From ltp all tests run .log file:

lchown02    7  TPASS  :  lchown() fails, Path contains regular file, errno:20
sh: run_libevent.sh: command not found
link01      1  TPASS  :  link(2) to a symbolic link, which is pointing to an existing object file worked - file created and link count adjusted

I searched for run_libevent.sh and found it
at /opt/ltp/testcases/bin/libevent dir.

I'm running it manually by (same commands .failcmdfile gives):

# export LTPROOT; run_libevent.sh
bash: run_libevent.sh: command not found
# export LTPROOT; ./testcases/bin/libevent/run_libevent.sh
Running tests:
KQUEUE
Skipping test
POLL
Skipping test
SELECT
Skipping test
RTSIG
Skipping test
EPOLL
Skipping test
libevent01    0  TINFO  :  Cleaning up.
Quoted 1 line

Thanks,

What's your $PATH, and where do you expect it to be? I ask because the runtest file is doing the right thing today:

optimus ltp # grep -r run_libevent.sh runtest/
runtest/syscalls:libevent01 export LTPROOT;
$LTPROOT/testcases/bin/libevent/run_libevent.sh

Thanks,
-Garrett

Quoted 38 lines · Garrett Cooper
Quoted 37 lines · Lucio Correia
Quoted 3 lines

Hi Garrett,

I'm still running into this issue with LTP-20091231

Hi Lucio,
What's the error message and how are you trying to run the test? Thanks,
-Garrett

Quoted 27 lines · Garrett Cooper
Quoted 26 lines · Mitani
Quoted 25 lines

Hi,

I got following message when I ran test of "libevent01" with ltp-2009-12-10 cvs.

------------
sh: run_libevent.sh: command not found
------------

This occured because "run_libevent.sh" was not installed under the "/opt/ltp" directory, I think.

Certainly, this test successed when I copied "${LTPROOT}/testcases/kernel/syscalls/libevent/run_libevent.sh" file to the "/opt/ltp/testcases/bin" directory.

So, I want to suggest the following revision:

1. Install "run_libevent.sh" to under the "/opt/ltp/testcases/bin" directory by default.
 (I don't know how to revise Makefile etc.)

2. Apply the following patch to "run_libevent.sh".

Quoted 17 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

============

run_libevent.sh.new     2009-12-10 16:44:02.000000000 +0900 renamed from run_libevent.sh 2009-11-20 04:08:36.000000000 +0900 +0 -0
@@ -31,7 +31,7 @@

    tst_resm TCONF "You need to be root to run these tests" TST_EXIT=0
else

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

-   "$LTPROOT/testcases/bin/tests/test-libevent.sh"
+   "$LTPROOT/testcases/bin/libevent/test/test-libevent.sh" TST_EXIT=$?
fi
tst_cleanup
============

Done -- thanks!

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list