[systemd-devel] [PATCH] test: fix some tests when running inside a container
Jan Synacek
jsynacek at redhat.com
Wed Dec 10 01:17:38 PST 2014
Jan Synacek <jsynacek at redhat.com> writes:
> ---
> src/test/test-execute.c | 2 +-
> src/test/test-util.c | 3 ---
> test/udev-test.pl | 8 ++++++++
> 3 files changed, 9 insertions(+), 4 deletions(-)
>
> diff --git a/src/test/test-util.c b/src/test/test-util.c
> index 20e711d..c055955 100644
> --- a/src/test/test-util.c
> +++ b/src/test/test-util.c
> @@ -495,7 +495,6 @@ static void test_get_process_comm(void) {
> pid_t e;
> uid_t u;
> gid_t g;
> - dev_t h;
> int r;
> pid_t me;
>
> @@ -544,8 +543,6 @@ static void test_get_process_comm(void) {
> assert_se(r >= 0 || r == -EACCES);
> log_info("self strlen(environ): '%zd'", strlen(env));
>
> - assert_se(get_ctty_devnr(1, &h) == -ENOENT);
> -
> getenv_for_pid(1, "PATH", &i);
> log_info("pid1 $PATH: '%s'", strna(i));
This part is wrong, sorry about that, I'll send a new patch.
--
Jan Synacek
Software Engineer, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141210/a34a45a6/attachment.sig>
More information about the systemd-devel
mailing list