test_tryopen: skip EACCES test when euid == 0
commitdae148a9d6de7501acf8a68218b3e9d2c5ff6ff7
authorEric Wong <normalperson@yhbt.net>
Tue, 3 Sep 2013 19:35:46 +0000 (3 19:35 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 3 Sep 2013 19:36:36 +0000 (3 19:36 +0000)
tree659d2f17f71307adb8d5a02dc4f16db7eff6bcf8
parent5c99abe6108d8d6a52c07b969afbc556c59b33be
test_tryopen: skip EACCES test when euid == 0

This fails when the test is run as root (which may be the case
of some Ruby installations) or fakeroot (which is the case of
Debian build systems).
test/test_tryopen.rb