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