freebsd-dev/usr.bin
John Baldwin 7ad9aa0b93 rs: Test actual output in the tests.
Previously the tests just verified if command line arguments raised an
error or not, they did not test how command line arguments affected
the output.  This adds some sample (if simple) input and output to
each flag test as well as adding a few additional trivial tests.

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D36835
2022-11-15 21:20:18 -08:00
..
addr2line
alias
apply apply: clean up error handling. 2022-08-08 19:06:35 +00:00
ar
asa
at
atm
awk
backlight backlight(8): Update usage() to match the manual page 2022-07-19 16:56:27 +02:00
banner manpages: Fix use of At macro 2022-03-04 00:03:44 +01:00
basename manpages: Fix use of At macro 2022-03-04 00:03:44 +01:00
bc
beep
biff
bintrans bintrans: replace the quoted printable encoder/decoder 2022-08-25 09:29:18 +02:00
bluetooth
bmake Update to bmake-20220726 2022-07-27 09:00:30 -07:00
brandelf fix URL typo 2022-02-05 09:08:45 +00:00
bsdcat libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
bsddialog contrib/bsddialog: Import version 0.4 2022-09-25 15:09:16 +02:00
bsdiff
bzip2
bzip2recover
c89
c99
caesar pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
calendar calendar: clarify comment syntax in man page 2022-07-31 07:37:05 +02:00
cap_mkdb
chat
chkey
chpass
cksum usr.bin/cksum: localize _total variables. 2022-07-17 17:24:31 -07:00
clang clang: remove as(1) cross-reference from man page 2022-09-25 15:21:25 -04:00
cmp
col
colrm
column
comm
compile_et
compress
cpio libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
cpuset
csplit
ctags
ctlstat ctlstat: add prometheus output 2022-04-20 15:18:41 -06:00
cut Update HISTORY and AUTHORS sections for cut(1) and paste(1) 2022-11-07 11:23:33 +01:00
cxxfilt
dc
diff diff: Don't (ab)use sprintf() as a kind of strcat(). 2022-11-15 19:17:36 -08:00
diff3 diff3: Use ranges for new and old diffedits in ed scripts 2022-08-02 14:38:11 +01:00
dirname
dpv Indicate the port where the referenced man pages come from. 2022-08-16 20:57:30 +02:00
drill
dtc usr.bin/dtc: Include <limits> for std::numeric_limits<>. 2022-06-09 10:20:03 -07:00
du
ee
elfctl elfctl: whitespace cleanup 2022-02-15 08:46:14 -05:00
elfdump elfdump: handle small files more gracefully 2022-02-17 10:09:53 -06:00
enigma Indicate which port gpg.1 comes from. 2022-08-17 19:23:57 +02:00
env
etdump
expand
factor
false
fetch fetch: make -S argument accept values > 2GB 2022-02-20 15:24:43 +01:00
file Integrate contrib/file/tests with kyua/atf 2022-02-16 13:02:45 -06:00
file2c
find Handle NULL return from localtime(3) in ls(1) and find(1) 2022-09-09 14:30:42 -07:00
finger
fmt
fold
fortune Update tip for adding a user to wheel: 2022-10-09 02:15:15 +02:00
from
fstat
fsync
ftp
gcore Indicate which port gdb.1 and kgdb.1 come from. 2022-08-17 19:13:22 +02:00
gencat
getaddrinfo
getconf
getent
getopt
gh-bc usr.bin/bc: update to version 5.3.1 2022-06-11 13:14:37 +02:00
gprof
grdc pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
grep grep: correct argument name in man page 2022-11-01 14:36:59 -04:00
gzip gzip: Add support for decompressing zstd files. 2022-11-04 13:42:09 +01:00
head Improve usability of head(1) and tail(1): 2022-07-12 21:14:25 -07:00
hesinfo Bump .Dd for recently modified manual pages 2022-06-27 18:20:03 +02:00
hexdump
host
iconv iconv: only conditionally use ICONV_SET_DISCARD_ILSEQ 2022-08-11 11:33:28 -05:00
id
ident
indent
ipcrm
ipcs
iscsictl iscsi: per-session timeouts and rapid teardown of session on reconnect 2022-02-25 10:35:47 +01:00
join
jot
kdump ktrace: make ktr_tid a long not intptr_t (NFC) 2022-09-17 09:21:59 +01:00
keylogin
keylogout
killall
ktrace
ktrdump
kyua
lam
last pkgbase: Put accounting utilities in the acct package 2022-08-16 21:15:19 +02:00
lastcomm
ldd ldd: ignore unverified files 2022-10-06 17:51:28 -07:00
ldd32
leave
less pkgbase: Put less in FreeBSD-runtime 2022-10-26 19:46:43 +02:00
lessecho
lesskey
lex
limits
locale
localedef
locate improve c style 2022-02-14 19:30:09 +00:00
lock
lockf
logger logger: fix builds without casper 2022-10-19 16:02:30 +02:00
login manpages: Remove telnetd references 2022-09-29 17:56:41 +01:00
logins
logname
look
lorder
lsvfs lsvfs: one last style nit missed in 946585179d 2022-02-10 16:14:17 -06:00
lzmainfo
m4
mail mail: Fix mismatch in array bounds for isign(). 2022-09-28 14:05:42 -07:00
man Indicate that xrefs to *roff,tbl,eqn et al are found in ports/textproc/groff. 2022-08-15 22:15:18 +02:00
mandoc
mesg
ministat
mkcsmapper update external URL 2022-02-05 09:13:07 +00:00
mkcsmapper_static
mkdep
mkesdb update external URL 2022-02-05 08:58:30 +00:00
mkesdb_static
mkfifo
mkimg
mkstr
mktemp mktemp: skip later TMPDIR check if -p is specified 2022-11-09 00:04:04 -06:00
mkuzip
morse
msgs
mt
nc
ncal ncal: LT is the country code for Lithuania 2022-07-28 11:35:50 -06:00
ncurses
netstat tcp: account sent/received IP ECN markings independently 2022-11-10 11:35:35 +01:00
newgrp
newkey newkey: Fix mismatch in array bounds in for adjust(). 2022-09-28 14:06:16 -07:00
nfsstat nfsstat: Add an entry to output NFSPROC_APPENDWRITE count 2022-05-28 16:27:02 -07:00
nice
nl nl: Correct history 2022-07-24 15:01:52 -06:00
nm
nohup
number
objcopy
ofed irdma: Add RDMA driver for Intel(R) Ethernet Controller E810 2022-05-23 16:52:49 -07:00
pagesize
pamtest
passwd
paste Update HISTORY and AUTHORS sections for cut(1) and paste(1) 2022-11-07 11:23:33 +01:00
patch
pathchk
perror
pom pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
posixshmcontrol posixshm: Add a -j option to posixshmcontrol ls, to specify a jail 2022-02-26 17:45:28 -08:00
pr
primes
printenv
printf
proccontrol
procstat procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM 2022-09-16 23:23:38 +03:00
protect protect.1: Document that protect(1) does not work in jails 2022-07-12 00:47:58 +02:00
quota
random
rctl
readelf
renice renice: Force /bin/sh usage on su calls for the regression tests. 2022-10-13 17:32:47 +02:00
resizewin For man page references found in ports, indicate the respective port. 2022-08-14 15:02:06 +02:00
rev
revoke
rpcgen
rpcinfo
rs rs: Test actual output in the tests. 2022-11-15 21:20:18 -08:00
rup
ruptime
rusers
rwall
rwho
script script: Handle a missing 's' stamp gracefully. 2022-10-27 20:11:36 +00:00
sdiff
sdiotool
sed sed(1): Fix a typo in a source code comment 2022-06-04 20:27:45 +02:00
seq seq: fix style nits 2022-10-01 12:05:07 +02:00
shar
showmount
size
smbutil
sockstat sockstat(1): print PID adjusted to the right 2022-07-06 22:19:08 -07:00
soelim Indicate that xrefs to *roff,tbl,eqn et al are found in ports/textproc/groff. 2022-08-15 22:15:18 +02:00
sort sort: deindent file_reader_free and cleanup its usage 2022-10-13 10:51:17 +02:00
split split: reset errno prior to getline() 2022-10-27 12:17:59 -05:00
ssh-copy-id
stat tests: readlink: fix atf_test_case call [NFC] 2022-03-03 21:51:40 -06:00
stdbuf
strings
su
systat systat: remove INP_TIMEWAIT 2022-10-06 19:24:37 -07:00
tabs
tail tail: Fix misleading indentation in ARG() macro. 2022-10-03 16:10:42 -07:00
talk
tar libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
tcopy
tee tee.1: Add a HISTORY section 2022-10-30 11:29:59 +01:00
telnet
tests
tftp update external URL 2022-02-05 09:00:35 +00:00
time
timeout
tip tip(1): Fix a typo in a source code comment 2022-09-03 14:59:03 +02:00
top top(1): Fix a typo in a source code comment 2022-04-02 14:53:20 +02:00
touch touch: don't leak descriptor if fstat(2) fails 2022-03-12 11:38:12 +01:00
tr
true
truncate
truss truss: remove now-unused special case for MIPS 2022-10-17 14:02:49 -04:00
tsort
tty
ul
uname uname.1: Clarify the -r option 2022-09-16 13:27:54 +02:00
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction mixer: remove volume backwards compat, add % interpretation 2022-06-17 22:50:58 -05:00
usbhidctl
users pkgbase: Put accounting utilities in the acct package 2022-08-16 21:15:19 +02:00
vacation
vgrind Indicate that xrefs to *roff,tbl,eqn et al are found in ports/textproc/groff. 2022-08-15 22:15:18 +02:00
vi
vis
vmstat vmstat: remove processor counting from getcpuinfo() 2022-09-30 06:10:27 +03:00
vtfontcvt vtfontcvt: improve hex font format validation 2022-07-19 11:48:09 -04:00
w w: Fix premature rounding. 2022-10-26 15:56:40 +00:00
wall
wc
wg wg: drop -Wno-cast-qual from CFLAGS 2022-11-04 22:46:55 -05:00
what
whereis whereis: fix fetching of user.cs_path sysctl variable 2022-02-04 23:44:34 +01:00
which
who pkgbase: Put accounting utilities in the acct package 2022-08-16 21:15:19 +02:00
whois
write
xargs xargs: fix exit code when using -P 2022-10-17 10:39:04 +00:00
xinstall xinstall: alphabetize: upper case precedes lower. 2022-08-04 02:10:16 +02:00
xo
xohtml
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd zstd: build with C11 2022-03-01 20:07:44 +00:00
Makefile rs: Convert to C++ to convert elem to a std::vector<char *>. 2022-11-15 21:03:12 -08:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc