Don't break testing when runnins as root
authorRichard Levitte <levitte@openssl.org>
Mon, 29 Jan 2018 05:14:53 +0000 (06:14 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 29 Jan 2018 11:51:56 +0000 (12:51 +0100)
commitb15e62ecc5fc8f6c5b170b96480f13bf1b8e7915
tree3a34df606eac620ac91d5b85263ac446dc1147d0
parent1c5a2905c6d04cb69ca47078a4624ce4b6d5d540
Don't break testing when runnins as root

The rehash test broke the test if run by root.  Instead, just skip the
check that requires non-root to be worth it.

Fixes #4387

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5184)

(cherry picked from commit 98ade24200f127a158b60bc736390c587cdd3dfb)
test/recipes/40-test_rehash.t