Tests: fix: test_relayd_working_directory fails as root
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 3 Feb 2020 20:56:43 +0000 (15:56 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 3 Feb 2020 20:56:43 +0000 (15:56 -0500)
commit15da468cd331b1c6d72e9bd6ee5afd472c66242d
treeab505e63f528ae3ddbb0c1cc0eec70c74649e28d
parenta3a75bf4721736ec16c30ee70de95e773fedf53b
Tests: fix: test_relayd_working_directory fails as root

From the original bug report:

This test succeeds as user, but fails as root:
not ok 23 - Warning about missing write permission is present

    Failed test 'Warning about missing write permission is present'
    in tools/working-directory/test_relayd_working_directory:test_relayd_debug_permission() at line 182.

The warning does not trigger because root always has access.

Skip this test since the permission check will succeed and the relay
daemon won't produce the expected error message.

Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I4eb29958aaca78405e1fdd2392d73472af0d5912
tests/regression/tools/working-directory/test_relayd_working_directory
This page took 0.032655 seconds and 4 git commands to generate.