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