mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-15 19:36:16 +00:00
touch: don't generate an error on 'touch -h -'
This commit is contained in:
parent
aaea758b6a
commit
84e0610487
2 changed files with 21 additions and 4 deletions
|
@ -833,3 +833,10 @@ fn test_touch_no_dereference_dangling() {
|
|||
|
||||
ucmd.args(&["-h", "dangling"]).succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_touch_dash() {
|
||||
let (_, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
ucmd.args(&["-h", "-"]).succeeds().no_stderr().no_stdout();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue