Check if test_rehash is run as root
authorRichard Levitte <levitte@openssl.org>
Fri, 18 Sep 2015 19:27:29 +0000 (21:27 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 18 Sep 2015 19:32:29 +0000 (21:32 +0200)
commite008d1b2672f0ab6d64ab1afd20a903678bd8ed2
tree1a995c27e262e137dadd2be957ee4d95952c1295
parent88f84eb25728a7b4c0b9f684198fd541be9eebe3
Check if test_rehash is run as root

If test/recipes/40-test_rehash.t is executed as root, the last test
will fail, since the created directory will remain writable no matter
what.  Make sure it complains loudly about being run as root.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/recipes/40-test_rehash.t