Page MenuHomeFreeBSD

Add tests for wc(1)
AbandonedPublic

Authored by lwhsu on Jul 22 2022, 7:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 21 2025, 11:32 PM
Unknown Object (File)
Dec 13 2025, 5:48 AM
Unknown Object (File)
Nov 28 2025, 1:34 AM
Unknown Object (File)
Nov 7 2025, 3:22 AM
Unknown Object (File)
Nov 5 2025, 2:15 AM
Unknown Object (File)
Nov 4 2025, 8:59 AM
Unknown Object (File)
Nov 3 2025, 1:23 PM
Unknown Object (File)
Nov 3 2025, 1:20 PM

Details

Reviewers
ngie
aokblast
Group Reviewers
tests

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46540
Build 43429: arc lint + arc unit

Event Timeline

lwhsu retitled this revision from Add tests for wc to Add tests for wc(1).Jul 22 2022, 7:13 AM
ngie requested changes to this revision.Jul 22 2022, 2:01 PM
ngie added a subscriber: ngie.
ngie added inline comments.
usr.bin/wc/tests/04_zh-TW.in
2

Does this require libiconv or any special build options to test?

usr.bin/wc/tests/wc_test.sh
2

Please omit -- it gets added by the build.

The copyright header is missing BTW (it doesn't matter a ton -- just a minor inconsistency).

3–84
  • Please don't use camelCase names.
  • Please avoid line continuations like this -- it makes the descriptions more difficult to grep for.
27

I might name this "total_bytes_ascii"

46

I might name this "total_bytes_utf8" (it matters more that non-ASCII is used than the specific locale that's used).

This revision now requires changes to proceed.Jul 22 2022, 2:01 PM
  • Fix naming convension for wc test case
lwhsu abandoned this revision.
lwhsu edited reviewers, added: aokblast; removed: lwhsu.
lwhsu marked 3 inline comments as done.