NetBSD/tests/usr.bin
rillig b5bd70af56 lint: warn about for wrong type cast in argument to ctype.h functions
The argument to most of the functions from <ctype.h> "shall either be
representable as an 'unsigned char' or shall equal the value of the
macro EOF".

When confronted with the infamous warning 'array subscript has type
char', there are enough programmers who don't know the background of
that warning and thus fix it in a wrong way.  Neither GCC nor Clang
explain its warning to target these programmers.

Both GCC and Clang warn about 'array subscript has type char', but they
ignore the other requirements of the <ctype.h> functions, even though
these are in the C standard library.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177
https://stackoverflow.com/a/60696378
2021-04-05 02:05:47 +00:00
..
argon2 added test cases 2019-10-14 14:48:48 +00:00
awk Reference PRs consistently. 2020-06-26 07:50:11 +00:00
basename
bzip2
c++ Mark t_tsan_*:*profile test cases as expected failures as discussed in 2020-11-17 08:25:57 +00:00
cc Mark t_tsan_*:*profile test cases as expected failures as discussed in 2020-11-17 08:25:57 +00:00
cmp
col Add unit-tests for col from FreeBSD 2020-11-01 22:28:32 +00:00
config update expected result 2020-03-09 20:33:16 +00:00
cpio Fix static linking (sun2) 2020-01-19 17:36:57 +00:00
cut
diff
dirname
find
fstat Check that fstat(1) works (cf. PR kern/55407). 2020-06-24 10:05:07 +00:00
gdb Reference PRs consistently. 2020-06-25 11:12:03 +00:00
grep
gzip
id
indent indent: fix off-by-one error in comment wrapping 2021-03-14 01:34:13 +00:00
infocmp
jot
ld
locale Add a check for PR bin/54692. 2020-07-03 04:25:28 +00:00
m4
make Run all make tests as unprileged user - makes checking permission issues 2021-02-06 19:00:25 +00:00
mixerctl
mkdep
nbperf Adjust test cases to hit the fudge case after the changes in nbperf 2021-02-14 01:27:33 +00:00
netpgpverify
patch patch(1): add test cases for various backup file formats 2021-02-20 08:59:24 +00:00
pkill
pr
printf ATF runs shell script tests with "sh -e" (WHY???) 2020-04-24 14:29:19 +00:00
pwhash adding full scheme comparison to libcrypt:crypt and pwhash tests 2019-10-05 18:06:16 +00:00
rump_server
sdiff
sed Will be fixed with regex update 2021-02-23 21:09:14 +00:00
shmif_dumpbus Add path. 2020-04-02 00:00:16 +00:00
sort
tar Fix static linking (sun2) 2020-01-19 17:36:57 +00:00
tmux
tr
unifdef
uniq
vmstat Reference PRs consistently. 2020-06-25 11:12:03 +00:00
xlint lint: warn about for wrong type cast in argument to ctype.h functions 2021-04-05 02:05:47 +00:00
ztest Add a test case for PR kern/53767. 2020-06-27 05:20:34 +00:00
Makefile Add unit-tests for col from FreeBSD 2020-11-01 22:28:32 +00:00