require releng_ for test scripts run by run_all

This commit is contained in:
George Danchev 2011-06-26 15:26:15 +00:00
parent 82998070d8
commit e007f9e75c
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ http://www.gnu.org/software/xorriso/
+ Read the configuration files and set up accordingly + Read the configuration files and set up accordingly
* DELIVERING A NEW TEST SCRIPT * DELIVERING A NEW TEST SCRIPT
+ file name starts with releng_
+ mandatory options -rc [-clean] + mandatory options -rc [-clean]
+ well documented configuration file test.conf{.template} + well documented configuration file test.conf{.template}
+ exit code 0 on success, non-zero on failure + exit code 0 on success, non-zero on failure

View File

@ -14,8 +14,8 @@ main() {
DSTART=`date --utc` DSTART=`date --utc`
printf "\n$0: Started at ${DSTART}" printf "\n$0: Started at ${DSTART}"
E1=`date '+%s'` E1=`date '+%s'`
# avoid running (your)self # require ^releng_, avoid running (your)self explcitly
for s in `ls | grep -v ${SELF}`; do for s in `ls | grep ^releng_ | grep -v ${SELF}`; do
if [ -x ${s} ]; then if [ -x ${s} ]; then
set +e set +e
printf "\n$0: Running ${s}..." printf "\n$0: Running ${s}..."