[lxc-devel] [lxc/lxc] 8a7b9a: tests: Avoid the download template when possible

GitHub noreply at github.com
Sat Jun 14 19:51:13 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 8a7b9a18ac1620d194ed4515e40dca026b55e6b0
      https://github.com/lxc/lxc/commit/8a7b9a18ac1620d194ed4515e40dca026b55e6b0
  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>


  Commit: cfaefa84432ae4bcbf99751abf089c767f43b286
      https://github.com/lxc/lxc/commit/cfaefa84432ae4bcbf99751abf089c767f43b286
  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: e018222855b771e399b4fe6ff91622e51063ecd9
      https://github.com/lxc/lxc/commit/e018222855b771e399b4fe6ff91622e51063ecd9
  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>


Compare: https://github.com/lxc/lxc/compare/4f45eb81a1d7...e018222855b7


More information about the lxc-devel mailing list