[Ocfs2-test-devel] [PATCH 07/11] ocfs2-test: Made the logfiles names more consistent among tests.

tristan tristan.ye at oracle.com
Thu Jun 3 20:20:40 PDT 2010


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

Marcos Matsunaga wrote:
> Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
> ---
>  programs/acl_tests/acl_tests.sh |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/programs/acl_tests/acl_tests.sh b/programs/acl_tests/acl_tests.sh
> index 3c05f8f..2b547b2 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,8 @@ 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}`/`date +%F-%H-%M-%S`-acl-tests-run-`uname -m`.log"
> +        LOG_FILE="`dirname ${LOG_DIR}`/`basename ${LOG_DIR}`/`date +%F-%H-%M-%S`-acl-tests-`uname -m`.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