1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-21 04:31:13 +00:00
uutils-coreutils/tests/by-util
Etienne Cordonnier 2e8b6fabcc stdbuf: add test_libstdbuf_preload
This test verifies that libstdbuf correctly gets preloaded, and that there are no architecture mismatch errors.
At the moment the test passes when compiled normally, but fails when compiled with cross-rs, due to https://github.com/uutils/coreutils/issues/6591

This passes:
```
cargo test --features stdbuf test_stdbuf::test_libstdbuf_preload -- --nocapture
```

This fails:
```
cross test --target aarch64-unknown-linux-gnu --features stdbuf test_stdbuf::test_libstdbuf_preload -- --nocapture
```

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2025-06-02 10:52:32 +02:00
..
test_arch.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_base32.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_base64.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_basename.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_basenc.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_cat.rs cat: bugfix when running with -T option 2025-04-02 18:59:27 -06:00
test_chcon.rs chore: manual inline formatting 2025-04-08 00:23:21 -04:00
test_chgrp.rs chore: use assert_eq! and assert_ne! instead of assert! 2025-04-08 13:25:41 -04:00
test_chmod.rs chore: use assert_eq! and assert_ne! instead of assert! 2025-04-08 13:25:41 -04:00
test_chown.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_chroot.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_cksum.rs chore: manual inline formatting 2025-04-08 00:23:21 -04:00
test_comm.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_cp.rs cp: rewrite test to remove procfs dependency 2025-06-02 09:51:33 +02:00
test_csplit.rs csplit: only allow ASCII digits as offset 2025-05-28 16:07:45 +02:00
test_cut.rs cut: Flush BufWriter, centralize output file logic 2025-03-31 13:45:10 +02:00
test_date.rs test_date: Expand on test_date_utc_time 2025-06-01 20:04:22 +02:00
test_dd.rs chore: manual inline formatting 2025-04-08 00:23:21 -04:00
test_df.rs fix: df: filter filesystem types after mount point resolution (#7452) 2025-04-17 22:06:20 +02:00
test_dir.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_dircolors.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_dirname.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_du.rs du: fix "function never used" warning in test 2025-05-19 11:18:02 +02:00
test_echo.rs Merge pull request #7881 from alexs-sh/7736-control-flow-experiments 2025-05-05 00:33:51 +02:00
test_env.rs env: ignore flags after the command or -- argument 2025-04-18 18:48:37 -07:00
test_expand.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_expr.rs expr: Fix error message for large numbers as range index 2025-05-27 17:28:19 +03:00
test_factor.rs fix clippy issues 2025-04-08 18:25:29 -04:00
test_false.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_fmt.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_fold.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_groups.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_hashsum.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_head.rs head: return to parse::<usize> and switch to parse_size_u64_max 2025-04-12 23:38:32 +02:00
test_hostid.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_hostname.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_id.rs selinux: use the uucore::selinux::is_selinux_enabled() function 2025-05-11 09:36:15 +02:00
test_install.rs selinux: add support for install 2025-05-21 09:51:27 +02:00
test_join.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_kill.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_link.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_ln.rs ln: don't show error when overwriting a link with -sfn (#7449) 2025-05-30 16:29:43 +02:00
test_logname.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_ls.rs Adapt to API changes in nix 2025-05-23 09:24:46 +02:00
test_mkdir.rs selinux: adjust more error messages 2025-05-07 22:58:46 +02:00
test_mkfifo.rs set_selinux_security_context: match GNU's error 2025-05-01 14:10:13 +02:00
test_mknod.rs set_selinux_security_context: match GNU's error 2025-05-01 14:10:13 +02:00
test_mktemp.rs chore: manual inline formatting 2025-04-08 00:23:21 -04:00
test_more.rs test_more: use at_and_ucmd helper macro 2025-05-18 21:09:48 +02:00
test_mv.rs mv: fix moving FIFO to a different filesystem 2025-04-19 11:12:53 -04:00
test_nice.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_nl.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_nohup.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_nproc.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_numfmt.rs numfmt: add --zero-terminated option 2025-04-08 10:05:26 -07:00
test_od.rs od: Ensure stdin is left in the correct state 2025-04-18 21:14:29 -06:00
test_paste.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_pathchk.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_pinky.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_pr.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_printenv.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_printf.rs printf: use non-zero indexes 2025-04-28 14:06:12 -04:00
test_ptx.rs ptx: use char count instead of byte index to handle utf-8 characters 2025-05-06 23:41:02 -07:00
test_pwd.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_readlink.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_realpath.rs chore: manual inline formatting 2025-04-08 00:23:21 -04:00
test_rm.rs Merge pull request #7492 from bitspill/rm 2025-04-27 23:54:16 +02:00
test_rmdir.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_runcon.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_seq.rs seq: Add a print_seq fast path function for integer and positive increments 2025-04-21 11:25:54 +02:00
test_shred.rs shred: implement and test feature --random-source 2025-05-19 11:17:55 +02:00
test_shuf.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_sleep.rs sleep: add tests 2025-04-17 21:42:38 -04:00
test_sort.rs sort: prevent -o/--output to be specified multiple times 2025-05-25 23:43:48 +02:00
test_split.rs split: delegate to avoid code duplication in test 2025-05-12 10:55:50 +02:00
test_stat.rs ls,stat: fix single_char_pattern in tests 2025-04-18 13:52:47 +02:00
test_stdbuf.rs stdbuf: add test_libstdbuf_preload 2025-06-02 10:52:32 +02:00
test_stty.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_sum.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_sync.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_tac.rs tac: Flush BufWriter 2025-03-31 13:46:24 +02:00
test_tail.rs Tail macos stdin ran from script fix (#7844) 2025-05-04 18:33:09 +02:00
test_tee.rs chore: manual inline formatting 2025-04-08 00:23:21 -04:00
test_test.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_timeout.rs add timeout test for hex parsing 2025-05-19 11:18:18 +02:00
test_touch.rs chore: use assert_eq! and assert_ne! instead of assert! 2025-04-08 13:25:41 -04:00
test_tr.rs tr: Flush BufWriter, fix double error context 2025-03-31 13:46:33 +02:00
test_true.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_truncate.rs chore: use assert_eq! and assert_ne! instead of assert! 2025-04-08 13:25:41 -04:00
test_tsort.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_tty.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_uname.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_unexpand.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_uniq.rs uniq: Flush BufWriter, make error context GNU-like 2025-03-31 13:46:33 +02:00
test_unlink.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_uptime.rs uptime: use clap to handle too many path args 2025-05-06 16:05:23 +02:00
test_users.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_vdir.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_wc.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_who.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_whoami.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
test_yes.rs uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00