[lxc-devel] [lxc/lxc] 91e7b2: tests: apparmor: Always end with a newline

GitHub noreply at github.com
Sat Jun 14 19:49:32 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 91e7b27880bc0ecb1e221bf7bd6ac25830c1b56a
      https://github.com/lxc/lxc/commit/91e7b27880bc0ecb1e221bf7bd6ac25830c1b56a
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-06-14 (Sat, 14 Jun 2014)

  Changed paths:
    M src/tests/aa.c

  Log Message:
  -----------
  tests: apparmor: Always end with a newline

Some error messages in lxc-test-apparmor didn't end with a newline,
leading to slightly difficult to read output.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 6ebc0504770a4b3ec32fdde9507a35aed90f5a43
      https://github.com/lxc/lxc/commit/6ebc0504770a4b3ec32fdde9507a35aed90f5a43
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-06-14 (Sat, 14 Jun 2014)

  Changed paths:
    M src/tests/lxc-test-unpriv

  Log Message:
  -----------
  tests: Don't fail when HOME isn't defined

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: f69fd24ea3e26095a7c63edb153ccb69fda54716
      https://github.com/lxc/lxc/commit/f69fd24ea3e26095a7c63edb153ccb69fda54716
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-06-14 (Sat, 14 Jun 2014)

  Changed paths:
    M src/tests/aa.c

  Log Message:
  -----------
  tests: Avoid the download template when possible

The use of the download template with an hardcoded --arch=amd64 in aa.c
was causing test failures on any platform incapable of running amd64
binaries.

This wasn't noticed in the CI environment as we run the tests within
containers on an amd64 kernel but this caused failures on the Ubuntu CI
environment.

Instead, let's use the busybox template, tweaking the configuration when
needed to match the needs of the testcase.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/b38b62a6d45f...f69fd24ea3e2


More information about the lxc-devel mailing list