| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r289172:
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity
r290254:
Remove unused variable (SRCDIR)
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change to expand_number (r204654) broke detection of too large sizes and
relative sizes ('+'/'-').
Also add some tests.
The usr.bin/truncate/Makefile is slightly different in the MFC because
src.opts.mk does not exist in stable/10.
PR: 190735
Submitted by: Kirk Russell
|
|
|
|
|
|
|
| |
human-friendly power-of-two numbers (i.e. 2k, 5M etc).
Suggested by: many
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
stack>.
Found by: LLVM/Clang Static Checker
MFC after: 1 week
|
|
|
|
| |
necessarily truncated).
|
| |
|
|
|
|
|
|
|
| |
o parselength() returns 0 or -1 so int is enough for its return type.
Submitted by: Ighighi Ighighi, sheldonh
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This speeds up my testing a bit. Because truncate(1) doesn't allocate
blocks on file system before they are used, it is very useful to
emulate huge file systems:
# truncate -s 16T fs.img
# mdconfig -a -f fs.img
# newfs /dev/mdX
(-t swap can be used as well)
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/27604
Submitted by: David Xu <davidx@viasoft.com.cn>
|
| |
|
| |
|
|
|
|
|
|
| |
* When the author of an utility also wrote its manual page (a rarety, I
know), it is not necessary to say that the utility "and this manual
page" were written by the author.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
where necessary.
Submitted by: Mike Barcroft <mike@q9media.com>
|
| |
|
| |
|
|
|
|
|
| |
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
|
| |
|
|
|
|
|
|
| |
variables.
Submitted by: charnier
|
|
|
|
|
|
|
|
|
|
|
| |
Do not include unused header files.
Add rcsid.
Change copyright.
truncate.1:
Add AUTHORS section.
Submitted by: charnier
|
|
|
|
|
|
| |
table when a long argument list is given. :-)
Reported by: Sven Agnew <afterhours80@hotmail.com>
|
|
|
|
| |
in environments where portability is a concern.
|
|
Approved by: jdp
|