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 11Sat Nov 15 00:06:53 GMT 2008 12$ uname -mprsv 13SunOS 5.11 snv_77 i86pc i386 14 15 16#------------------------------------------------------------------------------ 17# Running the test suite with /bin/sh 18# 19shell name: sh 20shell version: unknown 21 22--- Executing the 'defines' test suite --- 23testFlagsDefine 24testBoolean 25testFloat 26testInteger 27testString 28testShortNameLength 29 30Ran 6 tests. 31 32OK 33 34--- Executing the 'parsing' test suite --- 35test:WARN Standard version of getopt found. Some tests will be skipped. 36testStandardGetopt 37testEnhancedGetopt 38testValidBooleanShort 39testValidBooleanLong 40testValidFloats 41testInvalidFloats 42testValidIntegers 43testInvalidIntegers 44testValidStrings 45ASSERT:FLAGS (string with spaces) returned a non-zero result (2) 46ASSERT:string (string with spaces) test failed. expected:<string with spaces> but was:<single_word> 47>>> STDERR 48flags:FATAL the available getopt does not support spaces in options 49>>> end output 50testMultipleFlags 51testSingleNonFlagArg 52testMultipleNonFlagArgs 53testMultipleNonFlagStringArgsWithSpaces 54 55Ran 13 tests. 56 57FAILED (failures=2,skipped=92) 58 59--- Executing the 'private' test suite --- 60testGetFlagInfo 61testItemInList 62testScreenColumns 63testValidateBoolean 64testValidateFloat 65testValidateInteger 66 67Ran 6 tests. 68 69OK 70 71--- Executing the 'public' test suite --- 72test:WARN Standard version of getopt found. Enhanced tests will be skipped. 73testHelp 74testStandardHelpOutput 75testEnhancedHelpOutput 76testNoHelp 77 78Ran 4 tests. 79 80OK (skipped=6) 81 82 83#------------------------------------------------------------------------------ 84# Running the test suite with /bin/bash 85# 86shell name: bash 87shell version: 3.2.25(1)-release 88 89--- Executing the 'defines' test suite --- 90testFlagsDefine 91testBoolean 92testFloat 93testInteger 94testString 95testShortNameLength 96 97Ran 6 tests. 98 99OK 100 101--- Executing the 'parsing' test suite --- 102test:WARN Standard version of getopt found. Some tests will be skipped. 103testStandardGetopt 104testEnhancedGetopt 105testValidBooleanShort 106testValidBooleanLong 107testValidFloats 108testInvalidFloats 109testValidIntegers 110testInvalidIntegers 111testValidStrings 112ASSERT:FLAGS (string with spaces) returned a non-zero result (2) 113ASSERT:string (string with spaces) test failed. expected:<string with spaces> but was:<single_word> 114>>> STDERR 115flags:FATAL the available getopt does not support spaces in options 116>>> end output 117testMultipleFlags 118testSingleNonFlagArg 119testMultipleNonFlagArgs 120testMultipleNonFlagStringArgsWithSpaces 121 122Ran 13 tests. 123 124FAILED (failures=2,skipped=92) 125 126--- Executing the 'private' test suite --- 127testGetFlagInfo 128testItemInList 129testScreenColumns 130testValidateBoolean 131testValidateFloat 132testValidateInteger 133 134Ran 6 tests. 135 136OK 137 138--- Executing the 'public' test suite --- 139test:WARN Standard version of getopt found. Enhanced tests will be skipped. 140testHelp 141testStandardHelpOutput 142testEnhancedHelpOutput 143testNoHelp 144 145Ran 4 tests. 146 147OK (skipped=6) 148 149 150 151#------------------------------------------------------------------------------ 152# Running the test suite with /bin/ksh 153# 154shell name: ksh 155shell version: M-11/16/88i 156 157--- Executing the 'defines' test suite --- 158testFlagsDefine 159testBoolean 160testFloat 161testInteger 162testString 163testShortNameLength 164 165Ran 6 tests. 166 167OK 168 169--- Executing the 'parsing' test suite --- 170test:WARN Standard version of getopt found. Some tests will be skipped. 171testStandardGetopt 172testEnhancedGetopt 173testValidBooleanShort 174testValidBooleanLong 175testValidFloats 176testInvalidFloats 177testValidIntegers 178testInvalidIntegers 179testValidStrings 180ASSERT:FLAGS (string with spaces) returned a non-zero result (2) 181ASSERT:string (string with spaces) test failed. expected:<string with spaces> but was:<single_word> 182>>> STDERR 183flags:FATAL the available getopt does not support spaces in options 184>>> end output 185testMultipleFlags 186testSingleNonFlagArg 187testMultipleNonFlagArgs 188testMultipleNonFlagStringArgsWithSpaces 189 190Ran 13 tests. 191 192FAILED (failures=2,skipped=92) 193 194--- Executing the 'private' test suite --- 195testGetFlagInfo 196testItemInList 197testScreenColumns 198testValidateBoolean 199testValidateFloat 200testValidateInteger 201 202Ran 6 tests. 203 204OK 205 206--- Executing the 'public' test suite --- 207test:WARN Standard version of getopt found. Enhanced tests will be skipped. 208testHelp 209testStandardHelpOutput 210testEnhancedHelpOutput 211testNoHelp 212 213Ran 4 tests. 214 215OK (skipped=6) 216 217 218 219#------------------------------------------------------------------------------ 220# Running the test suite with /bin/zsh 221# 222shell name: zsh 223shell version: 4.3.4 224 225--- Executing the 'defines' test suite --- 226testFlagsDefine 227testBoolean 228testFloat 229testInteger 230testString 231testShortNameLength 232 233Ran 6 tests. 234 235OK 236 237--- Executing the 'parsing' test suite --- 238test:WARN Standard version of getopt found. Some tests will be skipped. 239testStandardGetopt 240testEnhancedGetopt 241testValidBooleanShort 242testValidBooleanLong 243testValidFloats 244testInvalidFloats 245testValidIntegers 246testInvalidIntegers 247testValidStrings 248ASSERT:FLAGS (string with spaces) returned a non-zero result (2) 249ASSERT:string (string with spaces) test failed. expected:<string with spaces> but was:<single_word> 250>>> STDERR 251flags:FATAL the available getopt does not support spaces in options 252>>> end output 253testMultipleFlags 254testSingleNonFlagArg 255testMultipleNonFlagArgs 256testMultipleNonFlagStringArgsWithSpaces 257 258Ran 13 tests. 259 260FAILED (failures=2,skipped=92) 261 262--- Executing the 'private' test suite --- 263testGetFlagInfo 264testItemInList 265testScreenColumns 266testValidateBoolean 267testValidateFloat 268testValidateInteger 269 270Ran 6 tests. 271 272OK 273 274--- Executing the 'public' test suite --- 275test:WARN Standard version of getopt found. Enhanced tests will be skipped. 276testHelp 277testStandardHelpOutput 278testEnhancedHelpOutput 279testNoHelp 280 281Ran 4 tests. 282 283OK (skipped=6) 284