[CRIU] [PATCH 1/5] zdtm.sh: fix absolute path to crtools

Pavel Emelyanov xemul at parallels.com
Mon Jan 14 06:52:47 EST 2013


On 01/11/2013 11:56 PM, Andrey Vagin wrote:
> zdtm.sh launched by an absolute path exits with an error due to
> an incorrect path to crtools
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  test/zdtm.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/zdtm.sh b/test/zdtm.sh
> index 2862fca..eb84fcc 100644
> --- a/test/zdtm.sh
> +++ b/test/zdtm.sh
> @@ -131,7 +131,7 @@ static/inotify00
>  $IPC_TEST_LIST
>  "
>  
> -CRTOOLS=`pwd`/`dirname $0`/../crtools
> +CRTOOLS=$(readlink -f `dirname $0`/../crtools)
>  TINIT=`pwd`/`dirname $0`/zdtm/lib/test_init
>  
>  test -x $CRTOOLS || {
> 

Applied


More information about the CRIU mailing list