coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

mv --exchange ft

Open hz2 opened this issue 5 months ago • 10 comments

implements the --exchange flag for linux systems with testing

fixes #8220

hz2 avatar Jul 25 '25 20:07 hz2

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Jul 25 '25 21:07 github-actions[bot]

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Jul 25 '25 22:07 github-actions[bot]

Can you also look into fixing the GNU test? I guess it suddenly enabled itself now that you support some of the feature:

Error: GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?

drinkcat avatar Jul 30 '25 13:07 drinkcat

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar Jul 31 '25 01:07 github-actions[bot]

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?

Oh, the test is still unhappy ,-(

drinkcat avatar Jul 31 '25 01:07 drinkcat

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?

Oh, the test is still unhappy ,-(

Yup sorry still working on this part, trying to mock the tests on macOS was messy, trying docker now

hz2 avatar Jul 31 '25 02:07 hz2

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar Jul 31 '25 03:07 github-actions[bot]

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar Jul 31 '25 03:07 github-actions[bot]

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?

Oh, the test is still unhappy ,-(

Yup sorry still working on this part, trying to mock the tests on macOS was messy, trying docker now

I need to document this somewhere... lima could be useful. I've used it recently to run SELinux tests (on a non-SELinux Linux box -- that's what we do in CI too), but lima was meant for Mac originally.

Command dump from my scratchpad:

limactl start --plain --name=default --cpus=4 --disk=40 --memory=8 --network=lima:user-v2 template://fedora
rsync -a -e ssh --exclude target gnu coreutils lima-default:~/work/
lima bash -c 'cd ~/work/coreutils/ && bash util/build-gnu.sh'
lima bash -c 'cd ~/work/coreutils/ && sudo bash util/run-gnu-test.sh tests/misc/selinux.sh'

drinkcat avatar Jul 31 '25 05:07 drinkcat

GNU testsuite comparison:

GNU test failed: tests/mv/mv-exchange. tests/mv/mv-exchange is passing on 'main'. Maybe you have to rebase?

github-actions[bot] avatar Aug 07 '25 14:08 github-actions[bot]