[CRIU] [PATCH] tests: rename deleted_standalone_unix to del_standalone_un

Pavel Emelyanov xemul at virtuozzo.com
Thu Jul 14 04:10:44 PDT 2016


On 07/13/2016 09:08 PM, Tycho Andersen wrote:
> The directory that the tests run in on jenkins is:
> 
> /var/lib/jenkins/workspace/CRIU/CRIU-restore-sibling/criu-dev/test/zdtm/static
> 
> which makes the whole path too long. This commit makes the whole path:
> 
> /var/lib/jenkins/workspace/CRIU/CRIU-restore-sibling/criu-dev/test/zdtm/static/del_standalone_un.test/sock
> 
> which is 105 chars, less than 108 of sun_path.
> 
> Closes #191
> 
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
> ---
>  test/zdtm/static/Makefile                     |   2 +-
>  test/zdtm/static/del_standalone_un.c          | 125 ++++++++++++++++++++++++++
>  test/zdtm/static/del_standalone_un.desc       |   1 +
>  test/zdtm/static/deleted_standalone_unix.c    | 125 --------------------------
>  test/zdtm/static/deleted_standalone_unix.desc |   1 -
>  5 files changed, 127 insertions(+), 127 deletions(-)
>  create mode 100644 test/zdtm/static/del_standalone_un.c
>  create mode 100644 test/zdtm/static/del_standalone_un.desc
>  delete mode 100644 test/zdtm/static/deleted_standalone_unix.c
>  delete mode 100644 test/zdtm/static/deleted_standalone_unix.desc

When generating diff, there's a -M option to git that detects renames
and produces nicer diff :)

Applied, thanks!



More information about the CRIU mailing list