1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 01:31:08 +00:00
uutils-coreutils/tests
Alexander Batischev 655804cff4 tests/chmod: protect umask with a mutex
`test_chmod_ugoa` and `test_chmod_many_options` both change umask, which
is global state. Since tests run concurrently, this might lead to
a situation where one of the tests changes umask to a value that screws
another test's checks. To prevent this, we introduce a mutex that should
be held by any test that changes umask.

Unfortunately, there's no way to hide umask behind this mutex and
enforce its usage: programmers will have to maintain the discipline
themselves.
2016-12-19 13:14:38 +03:00
..
common Temporary fix for errors in testing 2016-12-08 12:36:07 +08:00
fixtures od: implement --traditional 2016-09-02 21:24:29 +02:00
test_base32.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_base64.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_basename.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_cat.rs Fix clippy warnings 2016-11-25 14:14:46 -05:00
test_chgrp.rs chown,chgrp: fix bug in option --preserve-root 2016-08-29 11:19:15 +08:00
test_chmod.rs tests/chmod: protect umask with a mutex 2016-12-19 13:14:38 +03:00
test_chown.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_cksum.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_comm.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_cp.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_cut.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_dircolors.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_dirname.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_echo.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_env.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_expr.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_factor.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_false.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_fold.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_hashsum.rs hashsum: implement SHAKE-128 and SHAKE-256 2016-08-30 17:33:18 -07:00
test_head.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_install.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_link.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_ln.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_ls.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_mkdir.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_mktemp.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_mv.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_nl.rs Fix clippy warnings 2016-11-25 14:14:46 -05:00
test_od.rs Fix comment spelling 2016-11-25 14:36:56 -05:00
test_paste.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_pathchk.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_pinky.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_printf.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_ptx.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_pwd.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_readlink.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_realpath.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_rm.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_rmdir.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_seq.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_sort.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_split.rs Fix clippy warnings 2016-11-25 14:14:46 -05:00
test_stat.rs stat: fix test on travis 2016-11-21 19:36:23 +01:00
test_stdbuf.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_sum.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_tac.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_tail.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_test.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_touch.rs touch: add test 2016-08-28 07:12:58 +08:00
test_tr.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_true.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_truncate.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_tsort.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_unexpand.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_uniq.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_unlink.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_wc.rs tests: remove helper function boilerplate via macros 2016-08-23 08:04:02 -04:00
test_who.rs Fix test 2016-11-25 14:58:42 -05:00
tests.rs tests/chmod: protect umask with a mutex 2016-12-19 13:14:38 +03:00