Diff for /wikisrc/tutorials/atf.mdwn between versions 1.13 and 1.16

version 1.13, 2012/08/25 22:42:04 version 1.16, 2013/02/16 12:37:26
Line 1 Line 1
 [[!meta title="Creating atf-based tests for NetBSD src"]]  [[!meta title="Creating atf-based tests for NetBSD src"]]
   
   **Contents**
   
 [[!toc ]]  [[!toc ]]
   
 # Introduction  # Introduction
Line 20  on a need-to-know basis: Line 23  on a need-to-know basis:
 and  and
 [atf-check(1)](http://netbsd.gw.com/cgi-bin/man-cgi?atf-check++NetBSD-current).  [atf-check(1)](http://netbsd.gw.com/cgi-bin/man-cgi?atf-check++NetBSD-current).
   
 **IMPORTANT: Do not take anything for granted, SPECIALLY if you have previously  **IMPORTANT: Do not take anything for granted, ESPECIALLY if you have previously
 worked with and/or have seen src/regress/.  Your assumptions are most likely  worked with and/or have seen src/regress/.  Your assumptions are most likely
 incorrect.**  incorrect.**
   
Line 57  tool: Line 60  tool:
 Then, you could define the following test programs and test cases:  Then, you could define the following test programs and test cases:
   
 * bin/ls/fs_test.c: Provides test cases for list_files and stat_files.  These  * bin/ls/fs_test.c: Provides test cases for list_files and stat_files.  These
   would be named list_files_\_empty_directory, list_files_\_one_file,    would be named list_files\_\_empty_directory, list_files\_\_one_file,
   list_files_\_multiple_files, stat_files_\_directory, stat_files_\_symlink, etc.    list_files\_\_multiple_files, stat_files\_\_directory, stat_files\_\_symlink, etc.
   
 * bin/ls/ui_test.c: Provides test cases for the format_columns function.  These  * bin/ls/ui_test.c: Provides test cases for the format_columns function.  These
   would be named format_columns_\_no_files, format_columns_\_multiple_files, etc.    would be named format_columns\_\_no_files, format_columns\_\_multiple_files, etc.
   
 * bin/ls/integration_test.sh: Provides "black box" test cases for the binary  * bin/ls/integration_test.sh: Provides "black box" test cases for the binary
   itself.  These would be named lflag, lflag_and_Fflag, no_flags, no_files, etc.    itself.  These would be named lflag, lflag_and_Fflag, no_flags, no_files, etc.

Removed from v.1.13  
changed lines
  Added in v.1.16


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb