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 20:26:24 GMT 2008 12 $ uname -mprsv 13 SunOS 5.9 Generic_117172-08 i86pc 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 2.05.0(1)-release (i386-pc-solaris2.9) 107 Copyright 2000 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 --- Executing the 'defines' test suite --- 198 # 199 # Performing tests 200 # 201 testFlagsDefine 202 testBoolean 203 testFloat 204 testInteger 205 testString 206 testShortNameLength 207 208 # 209 # Test report 210 # 211 tests passed: 65 100% 212 tests failed: 0 0% 213 tests skipped: 0 0% 214 tests total: 65 100% 215 216 --- Executing the 'parsing' test suite --- 217 test:WARN Standard version of getopt found. Some tests will be skipped. 218 # 219 # Performing tests 220 # 221 testValidBooleanShort 222 testValidBooleanLong 223 testValidFloats 224 testInvalidFloats 225 testValidIntegers 226 testInvalidIntegers 227 testValidStrings 228 ASSERT:FLAGS (string with spaces) returned a non-zero result 229 ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<> 230 flags:ERROR the available getopt does not support spaces in options 231 testMultipleFlags 232 testSingleNonFlagArg 233 testMultipleNonFlagArgs 234 testMultipleNonFlagStringArgsWithSpaces 235 236 # 237 # Test report 238 # 239 tests passed: 89 50% 240 tests failed: 2 1% 241 tests skipped: 88 49% 242 tests total: 179 100% 243 244 --- Executing the 'private' test suite --- 245 # 246 # Performing tests 247 # 248 testGetFlagInfo 249 testItemInList 250 testValidateBoolean 251 testValidateFloat 252 testValidateInteger 253 254 # 255 # Test report 256 # 257 tests passed: 50 100% 258 tests failed: 0 0% 259 tests skipped: 0 0% 260 tests total: 50 100% 261 262 --- Executing the 'public' test suite --- 263 # 264 # Performing tests 265 # 266 testHelp 267 testStandardHelpOutput 268 testEnhancedHelpOutput 269 270 # 271 # Test report 272 # 273 tests passed: 5 56% 274 tests failed: 0 0% 275 tests skipped: 4 44% 276 tests total: 9 100% 277 278 test:WARN unable to run tests with the /bin/pdksh shell 279 280 281 #------------------------------------------------------------------------------ 282 # Running the test suite with /bin/zsh 283 # 284 285 version: 3.0.8 286 287 --- Executing the 'defines' test suite --- 288 # 289 # Performing tests 290 # 291 testFlagsDefine 292 testBoolean 293 testFloat 294 testInteger 295 testString 296 testShortNameLength 297 298 # 299 # Test report 300 # 301 tests passed: 65 100% 302 tests failed: 0 0% 303 tests skipped: 0 0% 304 tests total: 65 100% 305 306 --- Executing the 'parsing' test suite --- 307 test:WARN Standard version of getopt found. Some tests will be skipped. 308 # 309 # Performing tests 310 # 311 testValidBooleanShort 312 testValidBooleanLong 313 testValidFloats 314 testInvalidFloats 315 testValidIntegers 316 testInvalidIntegers 317 testValidStrings 318 ASSERT:FLAGS (string with spaces) returned a non-zero result 319 ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<> 320 flags:ERROR the available getopt does not support spaces in options 321 testMultipleFlags 322 testSingleNonFlagArg 323 testMultipleNonFlagArgs 324 testMultipleNonFlagStringArgsWithSpaces 325 326 # 327 # Test report 328 # 329 tests passed: 89 50% 330 tests failed: 2 1% 331 tests skipped: 88 49% 332 tests total: 179 100% 333 334 --- Executing the 'private' test suite --- 335 # 336 # Performing tests 337 # 338 testGetFlagInfo 339 testItemInList 340 testValidateBoolean 341 testValidateFloat 342 testValidateInteger 343 344 # 345 # Test report 346 # 347 tests passed: 50 100% 348 tests failed: 0 0% 349 tests skipped: 0 0% 350 tests total: 50 100% 351 352 --- Executing the 'public' test suite --- 353 # 354 # Performing tests 355 # 356 testHelp 357 testStandardHelpOutput 358 testEnhancedHelpOutput 359 360 # 361 # Test report 362 # 363 tests passed: 5 56% 364 tests failed: 0 0% 365 tests skipped: 4 44% 366 tests total: 9 100% 367