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