Skip to contentSkip to conversation

Add test groups to POSIX execution script

LTP In review [email protected] 2 participants 3 messages May 26, 2013 – May 27, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I notice that some POSIX test groups under conformance/interfaces/ are useful, but are not listed in the POSIX execution script run-posix-option-group-test.sh

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

PATCH 1/1 Add test groups into POSIX execution script

From: Jin Li <[email protected]>

Add the following test groups into execution script run-posix-option-group-test.sh

fsync, fork, getpid

---
 .../bin/run-posix-option-group-test.sh             |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh +3 -0
index 17f6e49..977d805 100755
@@ -33,6 +33,7 @@ AIO)
 	echo "Executing asynchronous I/O tests"
 	run_option_group_tests "$BASEDIR/aio_*"
 	run_option_group_tests "$BASEDIR/lio_listio"
+	run_option_group_tests "$BASEDIR/fsync"
 	;;
 SIG)
 	echo "Executing signals tests"
@@ -65,6 +66,8 @@ MSG)
 TPS)
 	echo "Executing process and thread scheduling tests"
 	run_option_group_tests "$BASEDIR/*sched*"
+	run_option_group_tests "$BASEDIR/fork"
+	run_option_group_tests "$BASEDIR/getpid"
 	;;
 MEM)
 	echo "Executing mapped, process and shared memory tests"
Signature · 13 lines
1.7.4.1


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#2 lore raw

Re: [LTP] [PATCH] Add test groups into POSIX execution script

Hi!

Quoted 20 lines

fsync, fork, getpid

---
 .../bin/run-posix-option-group-test.sh             |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh +1 -0
index 17f6e49..977d805 100755
@@ -33,6 +33,7 @@ AIO)
 	echo "Executing asynchronous I/O tests"
 	run_option_group_tests "$BASEDIR/aio_*"
 	run_option_group_tests "$BASEDIR/lio_listio"
+	run_option_group_tests "$BASEDIR/fsync"
 	;;
 SIG)
 	echo "Executing signals tests"

testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh MSG) · line 73

Quoted 8 lines
testcases/open_posix_testsuite/bin/run-posix-option-group-test.sh +2 -0
@@ -65,6 +66,8 @@ MSG)
 TPS)
 	echo "Executing process and thread scheduling tests"
 	run_option_group_tests "$BASEDIR/*sched*"
+	run_option_group_tests "$BASEDIR/fork"
+	run_option_group_tests "$BASEDIR/getpid"
 	;;
 MEM)
 	echo "Executing mapped, process and shared memory tests"

The problem with this patch is that the tests in the script are sorted by codes for the particular POSIX extension while the tests you are adding are part of the core POSIX (not sure if all of them but at least most of them).

If you just want to execute all openposix tests run 'make test' in the testcases/open_posix_testsuite/ directory.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list