Page MenuHomeFreeBSD

mv: Convert tests to ATF.
Needs ReviewPublic

Authored by des on Thu, Nov 14, 11:31 AM.

Details

Reviewers
asomers
Group Reviewers
Klara
tests
Summary

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60571
Build 57455: arc lint + arc unit

Event Timeline

des requested review of this revision.Thu, Nov 14, 11:31 AM
des added a parent revision: D47568: mv: More style nits..
markj added inline comments.
bin/mv/tests/mv_test.sh
9

Our usual shell style puts opening braces on their own lines, though admittedly a number of sh test files don't do this.

31

Should this be wrapped with atf_check?

42

Should this be wrapped with atf_check?

des added inline comments.
bin/mv/tests/mv_test.sh
9

I think we mostly don't in tests... maybe tests can weigh in

31

it should, thank you

42

it should, thank you

des marked 2 inline comments as done.Thu, Nov 14, 4:35 PM

Shouldn't you delete cvt.pl? That looks like a one-time script to me.

Shouldn't you delete cvt.pl? That looks like a one-time script to me.

I never intended to add it, sorry

LGTM. If you're feeling ambitious you can add test cases for symlink destinations and the other command line options.

This revision is now accepted and ready to land.Thu, Nov 14, 6:17 PM
This revision now requires review to proceed.Thu, Nov 14, 7:43 PM