[Ocfs2-test-devel] [PATCH 07/11] acl_tests

tristan tristan.ye at oracle.com
Wed Jun 16 19:02:19 PDT 2010


Signed-off-by: Tristan Ye <tristan.ye at oracle.com>

Marcos Matsunaga wrote:
> ocfs2-test: Made the logfiles names more consistent among tests.
>
> - Additional change from the previous version. Made the logfile starting
>   with the name instead of date. Makes it more visible and clean.
>
> Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
> ---
>  programs/acl_tests/acl_tests.sh |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/programs/acl_tests/acl_tests.sh b/programs/acl_tests/acl_tests.sh
> index 3c05f8f..92c0452 100755
> --- a/programs/acl_tests/acl_tests.sh
> +++ b/programs/acl_tests/acl_tests.sh
> @@ -70,7 +70,7 @@ CHACL_BIN="`which sudo` -u root `which chacl`"
>  BLOCKSIZE=
>  CLUSTERSIZE=
>  SLOTS=4
> -LABELNAME=ocfs2-acl-tests
> +LABELNAME="ocfs2-acl-tests-`uname -m`"
>  
>  DEFAULT_LOG_DIR=${O2TDIR}/log
>  LOG_DIR=
> @@ -194,8 +194,10 @@ function f_check()
>  
>          ${MKDIR_BIN} -p ${LOG_DIR} || exit 1
>  
> -        RUN_LOG_FILE="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/`date +%F-%H-%M-%S`-acl-tests-run.log"
> -        LOG_FILE="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/`date +%F-%H-%M-%S`-acl-tests.log"
> +        RUN_LOG_FILE="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/acl-tests-run-`uname -m`-\
> +`date +%F-%H-%M-%S`.log"
> +        LOG_FILE="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/acl-tests-`uname -m`-\
> +`date +%F-%H-%M-%S`.log"
>          MKFSLOG="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/$$_mkfs.log"
>          MOUNTLOG="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/$$_mount.log"
>  
>   




More information about the Ocfs2-test-devel mailing list