coreutils/tests
Paul Eggert 97d8dcc5ca basenc: prefer signed to unsigned integers
This patch modifies basenc to prefer signed integers to
unsigned, as signed are less error-prone.
This patch also updates Gnulib to to latest, which updates Gnulib’s
base32 and base64 modules to prefer signed to unsigned integers.
* src/basenc.c: Include idx.h.
(struct base2_decode_context): Use unsigned char, not unsigned
for an octet that must fit in an unsigned char.
(base_encode, struct base_decode_context)
(base64_decode_ctx_wrapper, prepare_inbuf, base64url_encode)
(base64url_decode_ctx_wrapper, base32_decode_ctx_wrapper)
(base32hex_encode, base32hex_decode_ctx_wrapper, base16_encode)
(base16_decode_ctx, z85_encode, Z85_HI_CTX_TO_32BIT_VAL)
(z85_decoding, z85_decode_ctx, base2msbf_encode)
(base2lsbf_encode, base2lsbf_decode_ctx, base2msbf_decode_ctx)
(wrap_write, do_encode, do_decode, main):
Prefer signed integers to unsigned.
(main): Treat extremely large wrap columns as if they were
infinite; that’s good enough.  Since we’re now using xstrtoimax,
this allows ‘-w -0’ (same as ‘-w 0’).
* tests/misc/base64.pl (gen_tests): -w-0 is no longer an error.
2021-08-27 17:12:27 -07:00
..
chgrp maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
chmod maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
chown maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
cp tests: avoid reflinks when testing SEEK_DATA logic 2021-08-25 12:37:57 +01:00
dd maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
df doc: modernize usage of “disk” and “core” 2021-07-28 12:30:12 -07:00
du doc: modernize usage of “disk” and “core” 2021-07-28 12:30:12 -07:00
factor maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
fmt maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
id maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
install maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
ln maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
ls tests: augment new ls --zero test cases 2021-07-28 23:17:34 +01:00
misc basenc: prefer signed to unsigned integers 2021-08-27 17:12:27 -07:00
mkdir mkdir: fix bug when -m's more generous than umask 2021-01-15 02:59:24 -08:00
mv maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
pr pr: fix alignment of input tabs to multiple columns 2021-02-15 21:31:07 +00:00
readlink maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
rm doc: modernize usage of “disk” and “core” 2021-07-28 12:30:12 -07:00
rmdir rmdir: diagnose non following of symlinks with trailing slash 2021-02-19 11:35:30 +00:00
split split: fix --number=K/N to output correct part of file 2021-01-25 21:39:09 +00:00
tail-2 doc: modernize usage of “disk” and “core” 2021-07-28 12:30:12 -07:00
touch maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
Coreutils.pm maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
CuSkip.pm maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
CuTmpdir.pm maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
d_type-check tests: fix dirent d_type support verification 2015-11-06 16:40:42 +00:00
envvar-check maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
filefrag-extent-compare tests: fix a false positive fiemap test on some file systems 2011-04-13 11:18:48 +01:00
GNUmakefile tests: reenable "make -C tests ..." commands 2012-09-14 10:20:03 +02:00
init.sh maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
lang-default * tests/lang-default (LC_ALL): Set to "C", so we get 2006-08-16 20:11:42 +00:00
local.mk ls: rename --null to --zero (Bug#49716) 2021-07-27 18:08:39 -07:00
no-perl maint: use standard spacing in shebang line in tests 2015-11-10 13:03:33 +00:00
other-fs-tmpdir doc: modernize usage of “disk” and “core” 2021-07-28 12:30:12 -07:00
sample-test maint: update all copyright year number ranges 2021-01-01 16:36:09 +00:00
seek-data-capable tests: ensure we test SEEK_DATA where used 2021-05-12 22:14:11 +01:00