[lxc-devel] [PATCH] tests: Don't fail when HOME isn't defined
Serge Hallyn
serge.hallyn at ubuntu.com
Sat Jun 14 01:17:17 UTC 2014
Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> src/tests/lxc-test-unpriv | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/tests/lxc-test-unpriv b/src/tests/lxc-test-unpriv
> index 139b080..5e06e23 100755
> --- a/src/tests/lxc-test-unpriv
> +++ b/src/tests/lxc-test-unpriv
> @@ -31,7 +31,7 @@ which newuidmap >/dev/null 2>&1 || { echo "'newuidmap' command is missing" >&2;
>
> DONE=0
> cleanup() {
> - cd
> + cd /
>
> run_cmd lxc-stop -n c1 -k
> pkill -u $(id -u $TUSER) -9
> --
> 1.9.1
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list