Home | History | Annotate | Download | only in 1.0.1
      1 #------------------------------------------------------------------------------
      2 # System data
      3 #
      4 
      5 # test run info
      6 shells="/bin/sh /bin/bash /bin/dash /bin/ksh /bin/pdksh /bin/zsh"
      7 tests=" shflags_test_defines.sh shflags_test_parsing.sh shflags_test_private.sh shflags_test_public.sh"
      8 
      9 # system info
     10 $ date
     11 Fri Jul 11 21:38:16 IST 2008
     12 $ uname -mprsv
     13 Darwin 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386 i386
     14 
     15 
     16 #------------------------------------------------------------------------------
     17 # Running the test suite with /bin/sh
     18 #
     19 
     20 --- Executing the 'defines' test suite ---
     21 #
     22 # Performing tests
     23 #
     24 testFlagsDefine
     25 testBoolean
     26 testFloat
     27 testInteger
     28 testString
     29 testShortNameLength
     30 
     31 #
     32 # Test report
     33 #
     34 tests passed:    65 100%
     35 tests failed:     0   0%
     36 tests skipped:    0   0%
     37 tests total:     65 100%
     38 
     39 --- Executing the 'parsing' test suite ---
     40 test:WARN Standard version of getopt found. Some tests will be skipped.
     41 #
     42 # Performing tests
     43 #
     44 testValidBooleanShort
     45 testValidBooleanLong
     46 testValidFloats
     47 testInvalidFloats
     48 testValidIntegers
     49 testInvalidIntegers
     50 testValidStrings
     51 ASSERT:FLAGS (string with spaces) returned a non-zero result
     52 ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
     53 flags:ERROR the available getopt does not support spaces in options
     54 testMultipleFlags
     55 testSingleNonFlagArg
     56 testMultipleNonFlagArgs
     57 testMultipleNonFlagStringArgsWithSpaces
     58 
     59 #
     60 # Test report
     61 #
     62 tests passed:    89  50%
     63 tests failed:     2   1%
     64 tests skipped:   88  49%
     65 tests total:    179 100%
     66 
     67 --- Executing the 'private' test suite ---
     68 #
     69 # Performing tests
     70 #
     71 testGetFlagInfo
     72 testItemInList
     73 testValidateBoolean
     74 testValidateFloat
     75 testValidateInteger
     76 
     77 #
     78 # Test report
     79 #
     80 tests passed:    50 100%
     81 tests failed:     0   0%
     82 tests skipped:    0   0%
     83 tests total:     50 100%
     84 
     85 --- Executing the 'public' test suite ---
     86 #
     87 # Performing tests
     88 #
     89 testHelp
     90 testStandardHelpOutput
     91 testEnhancedHelpOutput
     92 
     93 #
     94 # Test report
     95 #
     96 tests passed:     5  56%
     97 tests failed:     0   0%
     98 tests skipped:    4  44%
     99 tests total:      9 100%
    100 
    101 
    102 #------------------------------------------------------------------------------
    103 # Running the test suite with /bin/bash
    104 #
    105 
    106 GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)
    107 Copyright (C) 2005 Free Software Foundation, Inc.
    108 
    109 --- Executing the 'defines' test suite ---
    110 #
    111 # Performing tests
    112 #
    113 testFlagsDefine
    114 testBoolean
    115 testFloat
    116 testInteger
    117 testString
    118 testShortNameLength
    119 
    120 #
    121 # Test report
    122 #
    123 tests passed:    65 100%
    124 tests failed:     0   0%
    125 tests skipped:    0   0%
    126 tests total:     65 100%
    127 
    128 --- Executing the 'parsing' test suite ---
    129 test:WARN Standard version of getopt found. Some tests will be skipped.
    130 #
    131 # Performing tests
    132 #
    133 testValidBooleanShort
    134 testValidBooleanLong
    135 testValidFloats
    136 testInvalidFloats
    137 testValidIntegers
    138 testInvalidIntegers
    139 testValidStrings
    140 ASSERT:FLAGS (string with spaces) returned a non-zero result
    141 ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
    142 flags:ERROR the available getopt does not support spaces in options
    143 testMultipleFlags
    144 testSingleNonFlagArg
    145 testMultipleNonFlagArgs
    146 testMultipleNonFlagStringArgsWithSpaces
    147 
    148 #
    149 # Test report
    150 #
    151 tests passed:    89  50%
    152 tests failed:     2   1%
    153 tests skipped:   88  49%
    154 tests total:    179 100%
    155 
    156 --- Executing the 'private' test suite ---
    157 #
    158 # Performing tests
    159 #
    160 testGetFlagInfo
    161 testItemInList
    162 testValidateBoolean
    163 testValidateFloat
    164 testValidateInteger
    165 
    166 #
    167 # Test report
    168 #
    169 tests passed:    50 100%
    170 tests failed:     0   0%
    171 tests skipped:    0   0%
    172 tests total:     50 100%
    173 
    174 --- Executing the 'public' test suite ---
    175 #
    176 # Performing tests
    177 #
    178 testHelp
    179 testStandardHelpOutput
    180 testEnhancedHelpOutput
    181 
    182 #
    183 # Test report
    184 #
    185 tests passed:     5  56%
    186 tests failed:     0   0%
    187 tests skipped:    4  44%
    188 tests total:      9 100%
    189 
    190 test:WARN unable to run tests with the /bin/dash shell
    191 
    192 
    193 #------------------------------------------------------------------------------
    194 # Running the test suite with /bin/ksh
    195 #
    196 
    197   version         sh (AT&T Research) 1993-12-28 s+
    198 
    199 --- Executing the 'defines' test suite ---
    200 #
    201 # Performing tests
    202 #
    203 testFlagsDefine
    204 testBoolean
    205 testFloat
    206 testInteger
    207 testString
    208 testShortNameLength
    209 
    210 #
    211 # Test report
    212 #
    213 tests passed:    65 100%
    214 tests failed:     0   0%
    215 tests skipped:    0   0%
    216 tests total:     65 100%
    217 
    218 --- Executing the 'parsing' test suite ---
    219 test:WARN Standard version of getopt found. Some tests will be skipped.
    220 #
    221 # Performing tests
    222 #
    223 testValidBooleanShort
    224 testValidBooleanLong
    225 testValidFloats
    226 testInvalidFloats
    227 testValidIntegers
    228 testInvalidIntegers
    229 testValidStrings
    230 ASSERT:FLAGS (string with spaces) returned a non-zero result
    231 ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
    232 flags:ERROR the available getopt does not support spaces in options
    233 testMultipleFlags
    234 testSingleNonFlagArg
    235 testMultipleNonFlagArgs
    236 testMultipleNonFlagStringArgsWithSpaces
    237 
    238 #
    239 # Test report
    240 #
    241 tests passed:    89  50%
    242 tests failed:     2   1%
    243 tests skipped:   88  49%
    244 tests total:    179 100%
    245 
    246 --- Executing the 'private' test suite ---
    247 #
    248 # Performing tests
    249 #
    250 testGetFlagInfo
    251 testItemInList
    252 testValidateBoolean
    253 testValidateFloat
    254 testValidateInteger
    255 
    256 #
    257 # Test report
    258 #
    259 tests passed:    50 100%
    260 tests failed:     0   0%
    261 tests skipped:    0   0%
    262 tests total:     50 100%
    263 
    264 --- Executing the 'public' test suite ---
    265 #
    266 # Performing tests
    267 #
    268 testHelp
    269 testStandardHelpOutput
    270 testEnhancedHelpOutput
    271 
    272 #
    273 # Test report
    274 #
    275 tests passed:     5  56%
    276 tests failed:     0   0%
    277 tests skipped:    4  44%
    278 tests total:      9 100%
    279 
    280 test:WARN unable to run tests with the /bin/pdksh shell
    281 
    282 
    283 #------------------------------------------------------------------------------
    284 # Running the test suite with /bin/zsh
    285 #
    286 
    287 version: 4.3.4
    288 
    289 --- Executing the 'defines' test suite ---
    290 #
    291 # Performing tests
    292 #
    293 testFlagsDefine
    294 testBoolean
    295 testFloat
    296 testInteger
    297 testString
    298 testShortNameLength
    299 
    300 #
    301 # Test report
    302 #
    303 tests passed:    65 100%
    304 tests failed:     0   0%
    305 tests skipped:    0   0%
    306 tests total:     65 100%
    307 
    308 --- Executing the 'parsing' test suite ---
    309 test:WARN Standard version of getopt found. Some tests will be skipped.
    310 #
    311 # Performing tests
    312 #
    313 testValidBooleanShort
    314 testValidBooleanLong
    315 testValidFloats
    316 testInvalidFloats
    317 testValidIntegers
    318 testInvalidIntegers
    319 testValidStrings
    320 ASSERT:FLAGS (string with spaces) returned a non-zero result
    321 ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
    322 flags:ERROR the available getopt does not support spaces in options
    323 testMultipleFlags
    324 testSingleNonFlagArg
    325 testMultipleNonFlagArgs
    326 testMultipleNonFlagStringArgsWithSpaces
    327 
    328 #
    329 # Test report
    330 #
    331 tests passed:    89  50%
    332 tests failed:     2   1%
    333 tests skipped:   88  49%
    334 tests total:    179 100%
    335 
    336 --- Executing the 'private' test suite ---
    337 #
    338 # Performing tests
    339 #
    340 testGetFlagInfo
    341 testItemInList
    342 testValidateBoolean
    343 testValidateFloat
    344 testValidateInteger
    345 
    346 #
    347 # Test report
    348 #
    349 tests passed:    50 100%
    350 tests failed:     0   0%
    351 tests skipped:    0   0%
    352 tests total:     50 100%
    353 
    354 --- Executing the 'public' test suite ---
    355 #
    356 # Performing tests
    357 #
    358 testHelp
    359 testStandardHelpOutput
    360 testEnhancedHelpOutput
    361 
    362 #
    363 # Test report
    364 #
    365 tests passed:     5  56%
    366 tests failed:     0   0%
    367 tests skipped:    4  44%
    368 tests total:      9 100%
    369