Page MenuHomeFreeBSD

mv: Convert tests to ATF.
Needs ReviewPublic

Authored by des on Thu, Nov 14, 11:31 AM.
Tags
None
Referenced Files
F102636082: D47569.diff
Fri, Nov 15, 3:41 AM
F102634528: D47569.id146448.diff
Fri, Nov 15, 3:09 AM
F102634005: D47569.id146454.diff
Fri, Nov 15, 2:58 AM
F102633706: D47569.id146439.diff
Fri, Nov 15, 2:51 AM
F102626988: D47569.diff
Fri, Nov 15, 12:41 AM
Subscribers

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 60555
Build 57439: 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
8

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

30

Should this be wrapped with atf_check?

41

Should this be wrapped with atf_check?

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

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

30

it should, thank you

41

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