Skip to content

Conversation

bakanovskii
Copy link
Contributor

Fixes: #8670

Signed-off-by: Alexander Bakanovskii <[email protected]>
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

// If host is local (non-remote) we use display,
let host = if remote_host.is_empty() {
String::new()
display.clone()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we avoid the clone here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think no, it's later used individually in a last if statement

@sylvestre
Copy link
Contributor

is it possible to test this ?

@bakanovskii
Copy link
Contributor Author

is it possible to test this ?

It would require systemd so testing this using containers is tricky (https://gist.github.com/alexcpn/549074da9f16119de506af6c5a60ce1e)
Generally VMs are better for this kind of tests

I will check later if this is possible in a github CI

@bakanovskii
Copy link
Contributor Author

is it possible to test this ?

So it may be possible but it cannot be added as a job to the current CI due to the required volume mappings

@sylvestre sylvestre merged commit 84e6249 into uutils:main Sep 28, 2025
95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

who/pinky: different behavior in Where field
2 participants