Closed diveshuttam closed 5 years ago
t73 fails on the last line. It seems that root can write on a directory even if it is nor writable, so the test fails to detect a failure in the last line. Maybe we should remove this case from automatic testing, or should improve automatic testing to run as a normal (non-root) user.
t31 fails for the same reason as t73
t51 fails for the same reason that key revoke failed. You can check this by adding gpg contact ls -c
on the last test case (and run the test with option -d
).
t73 fails on the last line. It seems that root can write on a directory even if it is nor writable, so the test fails to detect a failure in the last line. Maybe we should remove this case from automatic testing, or should improve automatic testing to run as a normal (non-root) user.
Yes, I tried it and it is the case. I think creating another user will be better and will be more close to real environments. I did look up for other approaches like chattr +i
to make directory immutable; running the particular subtest as user nobody
but they didn't work out. I'll add them after completing other parts mostly before second eval. For now I am removing this test.
t51 fails for the same reason that key revoke failed. You can check this by adding gpg contact ls -c on the last test case (and run the test with option -d).
Checked it out, yup its because of the same reason.
Will fix them in a while.
closing this in favor of #83 . Just #83 needs to be resolved for solving this.
These test fail on bionic container (branch gnupg2.2) refer EasyGnuPG/pgpg#9