mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
stat: fix test on travis
/dev/pts/ptmx seems to be the only character special file in /dev which is not a bind-mount in the docker container run by travis. gnu stat does not detect these mounts, so produces a different output for /dev/zero.
This commit is contained in:
parent
de8d96ff7c
commit
e2519bf0b3
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ fn test_symlink() {
|
|||
#[test]
|
||||
#[cfg(target_os = "linux")]
|
||||
fn test_char() {
|
||||
let args = ["-c", DEV_FMTSTR, "/dev/zero"];
|
||||
let args = ["-c", DEV_FMTSTR, "/dev/pts/ptmx"];
|
||||
new_ucmd!().args(&args)
|
||||
.run()
|
||||
.stdout_is(expected_result(&args));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue