Running the full regression suite is done using root user: diff is still able to read the unreadable (chmod -r) file if run with root.
- R10:b67df8d7c203: diff: Use unprivileged_user with report_identical test
Before, as root:
cd /usr/tests kyua test usr.bin/diff/diff_test:report_identical
is failing (no permission error message generated by diff).
After applying this patch, diff correctly generate the error, so pass the test.