1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 09:41:07 +00:00
uutils-coreutils/tests/by-util
karlmcdowall f94ff78ea4
head: fix bug reading back through files (#7248)
* head: fix bug reading back through files

Fix issue #7247.
Rework logic for reading/seeking backwards through files.
Bug was seen when reading back through large files.
Added test case to validate fix.
2025-02-03 20:13:46 +01:00
..
test_arch.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_base32.rs base32/base64/basenc: permit repeating -d/-i/-w flags 2024-02-24 21:11:18 +01:00
test_base64.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
test_basename.rs basename,realpath: update spell-checker:ignore 2024-08-09 14:58:12 +02:00
test_basenc.rs basenc: ignore case with "--base16 --decode" 2024-12-17 10:52:25 +01:00
test_cat.rs cat: fix #5186 by adding explicit flush. (#5256) 2024-10-06 11:31:31 +02:00
test_chcon.rs fix clippy tests 2024-06-30 16:27:08 +02:00
test_chgrp.rs chgrp: rename a test for something a bit more explicit 2025-01-23 22:38:38 +01:00
test_chmod.rs chmod: Remove misleading comments 2025-01-11 16:07:07 +01:00
test_chown.rs tests: disable failed tests for chown on OpenBSD 2024-07-06 22:29:12 +02:00
test_chroot.rs chroot: make group option self overwriting 2025-01-12 01:08:38 +05:30
test_cksum.rs test(cksum): fix and un-ignore test_md5_bits 2025-02-03 11:06:47 +01:00
test_comm.rs comm: implement the ordering check 2025-01-18 09:22:41 +01:00
test_cp.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
test_csplit.rs csplit: simplify test 2025-01-09 15:20:22 +01:00
test_cut.rs cut: fix handling of newline as delimiter 2024-12-27 09:12:47 +01:00
test_date.rs date: use UTC if TZ is empty 2025-01-16 11:44:45 +01:00
test_dd.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
test_df.rs issues: 7158, 7159 and 7174 - ignore linux arm64 specific test 2025-01-20 08:13:35 +01:00
test_dir.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_dircolors.rs dircolors: ignore spell issues 2025-01-14 23:25:32 +01:00
test_dirname.rs dirname: accept repeated flag 2024-03-30 22:50:52 +01:00
test_du.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
test_echo.rs echo: add support for POSIXLY_CORRECT 2025-01-06 09:51:41 +01:00
test_env.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
test_expand.rs Merge pull request #5875 from cakebaker/expand_make_tab_explicit_in_test 2024-01-26 14:36:48 +01:00
test_expr.rs tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
test_factor.rs factor: adapt tests to API changes of rand 2025-01-30 08:52:42 +01:00
test_false.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_fmt.rs fmt: generate an error if the input is a directory 2024-11-16 19:49:44 +01:00
test_fold.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_groups.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
test_hashsum.rs hashsum: Windows: check in binary mode by default and allow --binary/--text whcn checking 2024-10-22 11:55:49 -07:00
test_head.rs head: fix bug reading back through files (#7248) 2025-02-03 20:13:46 +01:00
test_hostid.rs hostid: return correct exit code on error 2024-04-14 15:42:13 +02:00
test_hostname.rs hostname: enable test test_hostname_ip for FreeBSD and OpenBSD 2024-07-09 22:44:16 +02:00
test_id.rs fix clippy tests 2024-06-30 16:27:08 +02:00
test_install.rs tests: Decrease the various sleeps 2025-01-27 22:08:42 +01:00
test_join.rs join: add support for multibyte separators (#6736) 2024-10-06 11:48:08 +02:00
test_kill.rs kill: use only least significant bits to identify signal with -l (#7225) 2025-01-28 10:21:19 +01:00
test_link.rs Merge pull request #5182 from sylvestre/clippy_ 2023-08-21 16:21:02 -04:00
test_ln.rs ln: allow final destination directory when using -nf (#5975) 2024-09-17 11:28:34 +02:00
test_logname.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_ls.rs ls: display %Z alphabetic time zone abbreviation 2025-01-18 09:33:52 -05:00
test_mkdir.rs tests/mkdir: check for multiple --parent arguments 2024-10-31 05:10:31 +07:00
test_mkfifo.rs mkfifo: better handle the mode + umask 2024-12-20 18:17:52 +01:00
test_mknod.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_mktemp.rs mktemp+tests: remove unused spell-checker:disable 2024-04-30 18:28:20 +02:00
test_more.rs more: fix incorrect tests 2024-03-22 15:13:53 +01:00
test_mv.rs mv: show prompt for -u --interactive 2025-01-20 10:47:47 +01:00
test_nice.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_nl.rs Fix errors reported by new version of cspell 2024-02-05 09:12:52 +01:00
test_nohup.rs tests: fix warnings on OpenBSD for unused imports in by-util/test_* 2024-07-06 22:45:10 +02:00
test_nproc.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_numfmt.rs numfmt: extract test from other test & expand it 2025-01-18 16:19:39 +01:00
test_od.rs od: do not panic on empty address radix 2024-09-01 07:59:19 -05:00
test_paste.rs paste: permit the delimiter list to be empty (#6714) 2024-10-10 15:36:30 +02:00
test_pathchk.rs pathchk: remove useless comments 2024-01-09 15:19:22 +01:00
test_pinky.rs clippy: simplify code according to nightly 'manual_unwrap_or_default' lint 2024-07-18 15:59:37 +02:00
test_pr.rs pr: return correct exit code on error 2024-04-14 15:42:13 +02:00
test_printenv.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_printf.rs Merge pull request #7246 from RenjiSann/printf-negative-asterisk 2025-02-02 23:13:56 +01:00
test_ptx.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_pwd.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
test_readlink.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_realpath.rs basename,realpath: update spell-checker:ignore 2024-08-09 14:58:12 +02:00
test_rm.rs rm: fix the usage of '/..' '/.' with -rf options 2024-12-03 22:51:03 +01:00
test_rmdir.rs rmdir: require argument 2024-10-18 08:30:18 +02:00
test_runcon.rs adjust error for runcon & stdbuf to make tests/misc/invalid-opt.pl pass 2024-08-20 22:28:16 +02:00
test_seq.rs seq:add bounds for exponents 2025-01-15 22:35:24 +01:00
test_shred.rs shred: accept shortcuts for stringly-enum arguments 2024-04-14 15:39:46 +02:00
test_shuf.rs clippy: simplify code according to nightly 'needless_borrows_for_generic_args' lint 2024-07-18 15:59:36 +02:00
test_sleep.rs test(sleep): add test for signal handling 2024-10-25 16:47:40 +02:00
test_sort.rs sort: adapt to API changes of rand 2025-01-30 08:52:42 +01:00
test_split.rs split: adapt tests to API changes of rand 2025-01-30 08:52:42 +01:00
test_stat.rs Add more test cases and improve precision 2025-01-11 11:27:18 -05:00
test_stdbuf.rs stdbuf: better handling when non existing files 2025-01-08 00:13:31 +01:00
test_stty.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_sum.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_sync.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_tac.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_tail.rs tail: adapt tests to API change of rand 2025-01-30 08:52:42 +01:00
test_tee.rs tee: fix warning from ref_as_ptr lint in test 2024-11-18 09:45:44 +01:00
test_test.rs tests: Decrease the various sleeps 2025-01-27 22:08:42 +01:00
test_timeout.rs timeout: use no_output() to simplify tests 2025-01-23 16:09:06 +01:00
test_touch.rs tests: disable failed tests for touch on OpenBSD 2024-07-06 22:29:20 +02:00
test_tr.rs tr: generate an error for real if the input is a directory 2024-12-03 21:38:28 +01:00
test_true.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_truncate.rs tests: remove 'target_pointer_width = "128"' 2024-05-20 23:27:53 +02:00
test_tsort.rs tsort: print nodes and cycles as they are visited 2025-01-07 21:35:56 -05:00
test_tty.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_uname.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_unexpand.rs tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
test_uniq.rs uniq: fix multibyte input 2025-01-01 13:17:52 +01:00
test_unlink.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_uptime.rs issues: 7158, 7159 and 7174 - ignore linux arm64 specific test 2025-01-20 08:13:35 +01:00
test_users.rs users: support OpenBS using utmp 2024-06-29 08:19:24 +03:30
test_vdir.rs Add license headers on all files 2023-08-21 10:49:27 +02:00
test_wc.rs wc: fix escaping 2024-12-27 11:37:16 -05:00
test_who.rs issues: 7158, 7159 and 7174 - ignore linux arm64 specific test 2025-01-20 08:13:35 +01:00
test_whoami.rs all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
test_yes.rs Add license headers on all files 2023-08-21 10:49:27 +02:00