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 00:06:53 GMT 2008 12 $ uname -mprsv 13 SunOS 5.11 snv_77 i86pc 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. Some 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 testScreenColumns 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.25(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. Some 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 testScreenColumns 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 #------------------------------------------------------------------------------ 152 # Running the test suite with /bin/ksh 153 # 154 shell name: ksh 155 shell version: M-11/16/88i 156 157 --- Executing the 'defines' test suite --- 158 testFlagsDefine 159 testBoolean 160 testFloat 161 testInteger 162 testString 163 testShortNameLength 164 165 Ran 6 tests. 166 167 OK 168 169 --- Executing the 'parsing' test suite --- 170 test:WARN Standard version of getopt found. Some tests will be skipped. 171 testStandardGetopt 172 testEnhancedGetopt 173 testValidBooleanShort 174 testValidBooleanLong 175 testValidFloats 176 testInvalidFloats 177 testValidIntegers 178 testInvalidIntegers 179 testValidStrings 180 ASSERT:FLAGS (string with spaces) returned a non-zero result (2) 181 ASSERT:string (string with spaces) test failed. expected:<string with spaces> but was:<single_word> 182 >>> STDERR 183 flags:FATAL the available getopt does not support spaces in options 184 >>> end output 185 testMultipleFlags 186 testSingleNonFlagArg 187 testMultipleNonFlagArgs 188 testMultipleNonFlagStringArgsWithSpaces 189 190 Ran 13 tests. 191 192 FAILED (failures=2,skipped=92) 193 194 --- Executing the 'private' test suite --- 195 testGetFlagInfo 196 testItemInList 197 testScreenColumns 198 testValidateBoolean 199 testValidateFloat 200 testValidateInteger 201 202 Ran 6 tests. 203 204 OK 205 206 --- Executing the 'public' test suite --- 207 test:WARN Standard version of getopt found. Enhanced tests will be skipped. 208 testHelp 209 testStandardHelpOutput 210 testEnhancedHelpOutput 211 testNoHelp 212 213 Ran 4 tests. 214 215 OK (skipped=6) 216 217 218 219 #------------------------------------------------------------------------------ 220 # Running the test suite with /bin/zsh 221 # 222 shell name: zsh 223 shell version: 4.3.4 224 225 --- Executing the 'defines' test suite --- 226 testFlagsDefine 227 testBoolean 228 testFloat 229 testInteger 230 testString 231 testShortNameLength 232 233 Ran 6 tests. 234 235 OK 236 237 --- Executing the 'parsing' test suite --- 238 test:WARN Standard version of getopt found. Some tests will be skipped. 239 testStandardGetopt 240 testEnhancedGetopt 241 testValidBooleanShort 242 testValidBooleanLong 243 testValidFloats 244 testInvalidFloats 245 testValidIntegers 246 testInvalidIntegers 247 testValidStrings 248 ASSERT:FLAGS (string with spaces) returned a non-zero result (2) 249 ASSERT:string (string with spaces) test failed. expected:<string with spaces> but was:<single_word> 250 >>> STDERR 251 flags:FATAL the available getopt does not support spaces in options 252 >>> end output 253 testMultipleFlags 254 testSingleNonFlagArg 255 testMultipleNonFlagArgs 256 testMultipleNonFlagStringArgsWithSpaces 257 258 Ran 13 tests. 259 260 FAILED (failures=2,skipped=92) 261 262 --- Executing the 'private' test suite --- 263 testGetFlagInfo 264 testItemInList 265 testScreenColumns 266 testValidateBoolean 267 testValidateFloat 268 testValidateInteger 269 270 Ran 6 tests. 271 272 OK 273 274 --- Executing the 'public' test suite --- 275 test:WARN Standard version of getopt found. Enhanced tests will be skipped. 276 testHelp 277 testStandardHelpOutput 278 testEnhancedHelpOutput 279 testNoHelp 280 281 Ran 4 tests. 282 283 OK (skipped=6) 284