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