ctdb-tests: Work around unreadable file test failure when root
commite831af7b25760dbbc2a0fc5366b36cd885aac838
authorMartin Schwenke <martin@meltin.net>
Fri, 22 Jul 2022 01:05:21 +0000 (22 11:05 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 22 Jul 2022 16:09:31 +0000 (22 16:09 +0000)
tree2334bfdd3450aea1b270419f627d951b49057dd0
parentb20ccaa36da23c8ee84b117b2e82e98bd2be4fcc
ctdb-tests: Work around unreadable file test failure when root

root can read files for which the mode prohibits reading, so this test
case fails when run as root.  Work around this when running as root.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/UNIT/cunit/tunable_test_001.sh