Sylvestre Ledru
7da22b3ae2
Merge pull request #4405 from bbara/utmpx-time
...
utmpx: arch/os-independent timeval handling
2023-02-22 21:26:10 +01:00
Sylvestre Ledru
380b3cff8c
Merge pull request #4388 from howjmay/timeout-parse
...
fix: Fix panic in multi-byte characters
2023-02-22 21:23:06 +01:00
Sylvestre Ledru
d3395b5855
Merge pull request #4412 from jhowww/rmdir-move-help-strings-to-md-file
...
rmdir: move help strings to markdown file
2023-02-22 21:05:09 +01:00
Sylvestre Ledru
ea2100a64a
Merge pull request #4415 from papparapa/nohup-move-help-strings-to-md-file
...
nohup: move help strings to markdown file
2023-02-22 21:04:33 +01:00
Sylvestre Ledru
257e6ea681
Merge pull request #4413 from jhowww/rm-move-help-strings-to-md-file
...
rm: move help strings to markdown file
2023-02-22 21:03:46 +01:00
zleyyij
a24da1d575
basenc: Move strings to markdown file ( #4417 )
...
basenc: moved help strings to markdown file
2023-02-22 21:02:39 +01:00
Benjamin Bara
dd216ee23e
utmpx: cast timeval fields to i64
2023-02-22 18:50:08 +01:00
zleyyij
b70131f148
arch: move help strings to a markdown file ( #4373 )
...
Co-authored-by: zleyyij <zleyyi@users.noreply.github.com>
2023-02-22 16:50:27 +01:00
papparapa
29a25a6c85
od: move help strings to markdown file ( #4406 )
...
* od: move help strings to markdown file
* od: fix the commented points
2023-02-22 16:44:55 +01:00
Sylvestre Ledru
bf49b92d56
Merge pull request #4416 from tertsdiepraam/spell-fix
...
fix spell checker error in mkdir.md
2023-02-22 16:26:51 +01:00
Terts Diepraam
ed30869b45
fix spell checker error in mkdir.md
2023-02-22 16:23:27 +01:00
Koki Ueha
52902f6e99
nohup: move help strings to markdown file
2023-02-22 10:41:49 +00:00
Terts Diepraam
60d2df56de
Merge pull request #4164 from jfinkels/dd-fifo-seek
...
dd: allow skipping and seeking in FIFOs
2023-02-22 10:38:45 +01:00
Terts Diepraam
8448d45dcf
Merge pull request #4411 from chenchiii/sleep-move-help-strings-to-md-file
...
sleep: move help strings to markdown file
2023-02-22 10:29:43 +01:00
Terts Diepraam
33c2c7d1c0
Merge pull request #4403 from jhowww/mkdir-move-help-strings-to-md-file
...
mkdir: move help strings to markdown file
2023-02-22 10:27:23 +01:00
Cheng-Hao
4cbf9a6398
rm: move help strings to markdown file
2023-02-21 18:50:47 -08:00
Cheng-Hao
ab5d0b6b9d
rmdir: move help strings to markdown file
2023-02-21 18:28:35 -08:00
Chen Chi
ddd40fda6b
sleep: move help strings to markdown file
2023-02-21 15:56:52 -08:00
Terts Diepraam
6bd42fde6a
Merge pull request #4293 from Joining7943/tests-util-refactor-ucommand-add-run-in-shell
...
`tests/util`: Small Refactor/Fixes of `UCommand` and add method to run a `UCommand` in a shell platform independently
2023-02-21 22:41:20 +01:00
Guilherme A. de Souza
7d7b9eb49a
Migrate from atty
to is-terminal
( #4382 )
2023-02-21 21:52:18 +01:00
Cheng-Hao
e6fec39db1
mkdir: update markdown naming for consistency
2023-02-21 11:05:35 -08:00
papparapa
4e7ae2d46a
du: move help strings to markdown file ( #4384 )
2023-02-21 16:51:59 +01:00
Terts Diepraam
9d655bf672
Merge pull request #4402 from dmatos2012/chmod-verbose-message
...
chmod: supress verbose output when not verbose
2023-02-21 11:28:05 +01:00
Cheng-Hao
7cfeba0d22
mkdir: move help strings to markdown file
2023-02-20 16:29:20 -08:00
David Matos
dd4299c32e
chmod: supress verbose output when not verbose
2023-02-20 22:18:07 +01:00
Sylvestre Ledru
bc0273f48f
Merge pull request #4397 from pkubaj/patch-1
...
Add FreeBSD to documentation
2023-02-20 16:26:17 +01:00
pkubaj
72f13369aa
Add FreeBSD to documentation
2023-02-20 15:20:31 +00:00
Terts Diepraam
cc0a77d357
Merge pull request #4395 from papparapa/kill-move-help-strings-to-md-file
...
kill: move help strings to markdown file
2023-02-20 14:16:42 +01:00
Terts Diepraam
276397ea86
Merge pull request #4394 from papparapa/tac-move-help-strings-to-md-file
...
tac: move help strings to markdown file
2023-02-20 14:13:59 +01:00
Koki Ueha
9bf9bba7c3
kill: move help strings to markdown file
2023-02-20 11:56:39 +00:00
Koki Ueha
e0470c0294
tac: move help strings to markdown file
2023-02-20 11:30:33 +00:00
Terts Diepraam
8678530095
Merge pull request #4390 from papparapa/yes-move-help-strings-to-md-file
...
yes: move help strings to markdown file
2023-02-19 18:35:53 +01:00
Koki Ueha
044f3d3a43
yes: move help strings to markdown file
2023-02-19 14:54:33 +00:00
Sylvestre Ledru
f77a44df8b
Merge pull request #4385 from cakebaker/uucore_procs_help_about
...
uucore_procs: extract "about" and "usage" info from new help structure
2023-02-19 11:47:18 +01:00
Terts Diepraam
3daf269ba4
Merge pull request #4364 from kylemanna/km/fix-install-directory-perms
...
install: fix bad target directory permissions
2023-02-19 10:40:31 +01:00
Kyle Manna
7aa7f219a0
install: fix issue #4360 with bad target directory permissions
...
* Correct bug that set the last directory to the mode the file should
have been set to.
* Add unit test to verify correct functionality.
2023-02-18 22:32:31 -06:00
Yang Hau
2cd19522e4
fix: Fix panic in multi-byte characters
...
Closes #4353
2023-02-19 10:15:53 +08:00
Joining7943
1c230fd779
tests/util: Refactor UCommand and TestScenario.
...
Summary of changes in UCommand:
* Extend UCommand by builder methods and simplify methods in TestScenario
* Simplify code structures where possible. Add documentation.
* Store bin_path as PathBuf and util_name as String in all structs
* Remove UCommand::util and make bin_path, temp_dir private
* Rename UCommand::with_limit -> UCommand::limit
Summary of changes in TestScenario:
* Rename some parameters in TestScenario methods to be more descriptive
* Remove ucmd_keepenv, cmd_keepenv from TestScenario. Use UCommand::keep_env instead.
2023-02-18 23:38:20 +01:00
Terts Diepraam
ae65abe4a5
Merge pull request #4320 from sylvestre/fs_extra
...
mv: Update of fs_extra - address the new warnings
2023-02-18 23:19:49 +01:00
Jeffrey Finkelstein
c52647a632
dd: add support for skipping in input FIFO
...
For example, `dd skip=1 if=fifo` will now work.
2023-02-18 21:24:16 +01:00
Jeffrey Finkelstein
9c3f810f97
dd: add support for seeking in output FIFOs
...
For example, `dd seek=1 of=fifo` will now work.
2023-02-18 21:24:16 +01:00
Jeffrey Finkelstein
cf72c990f2
dd: create Source enum and simpler Input struct
...
This mirrors a recent commit that introduced the `Dest` enum and a
simplified `Output` struct. These changes allow us to add new types of
inputs and output more easily.
2023-02-18 21:24:16 +01:00
Sylvestre Ledru
f88b4f4109
Merge branch 'main' into fs_extra
2023-02-18 17:23:07 +01:00
Sylvestre Ledru
3d3beb5437
Merge pull request #4296 from sylvestre/gnu-intermittent
...
GNU: Ignore some intermittent
2023-02-18 16:54:28 +01:00
Terts Diepraam
d21448dc74
Merge pull request #4386 from sylvestre/cancel-ci
...
End the current execution if there is a new changeset in the PR
2023-02-18 11:09:58 +01:00
Sylvestre Ledru
2f64dc9d03
GNU: Ignore some intermittent
...
We have a list, no need to show them over and over.
They are adding noise:
https://github.com/orgs/uutils/projects/2
2023-02-18 10:17:50 +01:00
Sylvestre Ledru
b763143db0
End the current execution if there is a new changeset in the PR
2023-02-17 18:02:32 +01:00
Terts Diepraam
f0a2a7f41e
Merge pull request #4374 from sylvestre/doc-distro
...
refresh the installation doc with new distros
2023-02-17 17:55:55 +01:00
Joining7943
fdf0f96a01
tests/util: Restructure UCommand to run in shell per default. Introduce constant TESTS_BINARY.
...
Summary of changes in tests/util:
* Introduce global constant TESTS_BINARY holding the path to `coreutils`
* Implement running an arbitrary command in a sh or cmd shell per default.
* Implement std::fmt::Display for UCommand.
* Change usages of UCommand::util_name from &Option<OsStr> to Option<OsStr>
* `UCommand::new_from_tmp`: Use OsStr directly instead of TempDir -> String -> OsStr
* Collect arguments in `UCommand::args` field
* Build environment variables in `UCommand` itself instead of `std::process::Command`
* Move building of std::process:Command from fields in UCommand to own method `build`
* Remove assertions of UCommand::has_run in arg, args and env.
Summary of changes in tests/by-util:
* Remove usages of UCommand::raw. Fix tests to use UCommand::to_string.
* test_test: Adjust test_invalid_utf8_integer_compare to use `UCommand::args`
* test_chmod: run_single_test
* test_pwd: symlinked_env
* test_cp:
Fix the usage of &Option<OsStr> in `test_src_base_dot`
Refactor test_src_base_dot to not use UCommand::new but ts.ucmd() instead
2023-02-17 17:39:33 +01:00
Joining7943
2b5b0c82c1
tests/util: Bump rlimit version to 0.9.1 to be able to use prlimit
on android
2023-02-17 17:39:30 +01:00