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

Tycho Andersen tycho.andersen at canonical.com
Thu Jul 14 07:13:32 PDT 2016


On Thu, Jul 14, 2016 at 02:10:44PM +0300, Pavel Emelyanov wrote:
> 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 :)

Ah, I looked for this on commit but couldn't find it. I didn't realize
it was on patch generation. Anyway, I've updated my alias, thanks!

Tycho

> Applied, thanks!
> 


More information about the CRIU mailing list