freebsd-dev/usr.bin/truncate
Alan Somers 1775042adb Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp.
The bad_truncate test sets the uimmutable flag to produce an error in
truncate, but that flag isn't supported by ZFS.  If /tmp is on a ZFS
filesystem, the test will fail.  Change it to use readonly permissions and
an unpriveleged user instead.

Reviewed by:	jilles
MFC after:	1 week
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D4862
2016-01-19 22:07:39 +00:00
..
tests Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp. 2016-01-19 22:07:39 +00:00
Makefile Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
truncate.1
truncate.c