]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve test a bit, now that we have fstat(2) support.
authorpjd <pjd@FreeBSD.org>
Thu, 10 Mar 2011 20:59:02 +0000 (20:59 +0000)
committerpjd <pjd@FreeBSD.org>
Thu, 10 Mar 2011 20:59:02 +0000 (20:59 +0000)
commit5f0f37248d768af1e7c674a5f4e49cd844e96d4e
treee3818235d437275b5069d53d6bd03907760f439d
parent98d68ca74180ecc5c33c021c3a2662b4465e1e09
Improve test a bit, now that we have fstat(2) support.
The test was support to check if SUID/SGID bits are removed on first
write, but actually we were checking if they were removed after close.
Now we can check if SUID/SGID bits are gone after first write.

While here add checks to see if when both SUID and SGID bits are set they are
both cleared on first write.
tools/regression/pjdfstest/tests/chmod/12.t