Netcat Test Suite

 Netcat (nc) test suite provides set of tests for /usr/bin/nc shipped with OpenSolaris (SUNWnetcat package). Initial integration of Netcat into Solaris is covered by PSARC 2007/389. The test suite was written using CTI/TET harness.

Test Cases

 The following test cases are included:

  • Tflag
  • Uflag
  • dflag
  • hflag
  • iflag
  • kflag
  • lflag
  • nflag
  • pflag
  • portranges
  • rflag
  • sflag
  • uflag
  • vflag
  • wflag
  • zflag

 Each test case tests single nc(1) command line option or functionality and has one ore more test purposes.

Test Suite Coverage

 Very simplified view of test suite coverage:


       rflag: +
       Tflag: +++++~---
       pflag: +
       iflag: +-
       vflag: ++
       kflag: +
       Uflag: +-
       dflag: +
       uflag: ++-
       sflag: +-
       hflag: +
       nflag: +-
       wflag: +
  portranges: +~---
       lflag: ++++++++~----------

 Each line represents a test case, where each positive/plus character counts for positive test purpose (in that test case) and similarly for each negative/minus character.

Baseline results

 All test purposes should PASS. If the result is different a bug should be filed against stc/net/nc.

Changes to the test suite

 Any changes to the test suite should be discussed with Networking and Testing community.

More information

 Aside from README file of the test suite and discussion forums in the communities, more information about the test suite can be found in testing section of Vlad's blog.

last modified by admin on 2009/10/26 12:08
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.