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 Apr 25 13:21:10 IST 2009 12 $ uname -mprsv 13 SunOS 5.11 NexentaOS_20081207 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 testFlagNameIsReserved 30 31 Ran 7 tests. 32 33 OK 34 35 --- Executing the 'parsing' test suite --- 36 test:WARN Enhanced version of getopt found. Standard tests will be skipped. 37 testGetoptStandard 38 testGetoptEnhanced 39 testValidBooleanShort 40 testValidBooleanLong 41 testValidFloats 42 testInvalidFloats 43 testValidIntegers 44 testInvalidIntegers 45 testValidStrings 46 testMultipleFlags 47 testSingleNonFlagArg 48 testMultipleNonFlagArgs 49 testMultipleNonFlagStringArgsWithSpaces 50 testFlagsWithEquals 51 testComplicatedCommandLineStandard 52 testComplicatedCommandLineEnhanced 53 ASSERT:failed str test expected:<two> but was:<> 54 ASSERT:failed float test expected:<3> but was:<0.0> 55 ASSERT:incorrect number of argv values expected:<3> but was:<6> 56 57 Ran 16 tests. 58 59 FAILED (failures=3,skipped=3) 60 61 --- Executing the 'private' test suite --- 62 testGetFlagInfo 63 testItemInList 64 testColumns 65 testValidateBoolean 66 testValidateFloat 67 testValidateInteger 68 69 Ran 6 tests. 70 71 OK 72 73 --- Executing the 'public' test suite --- 74 test:WARN Enhanced version of getopt found. Standard tests will be skipped. 75 testHelp 76 testStandardHelpOutput 77 testEnhancedHelpOutput 78 testNoHelp 79 80 Ran 4 tests. 81 82 OK (skipped=1) 83 84 85 #------------------------------------------------------------------------------ 86 # Running the test suite with /bin/bash 87 # 88 shell name: bash 89 shell version: 3.2.33(1)-release 90 91 --- Executing the 'defines' test suite --- 92 testFlagsDefine 93 testBoolean 94 testFloat 95 testInteger 96 testString 97 testShortNameLength 98 testFlagNameIsReserved 99 100 Ran 7 tests. 101 102 OK 103 104 --- Executing the 'parsing' test suite --- 105 test:WARN Enhanced version of getopt found. Standard tests will be skipped. 106 testGetoptStandard 107 testGetoptEnhanced 108 testValidBooleanShort 109 testValidBooleanLong 110 testValidFloats 111 testInvalidFloats 112 testValidIntegers 113 testInvalidIntegers 114 testValidStrings 115 testMultipleFlags 116 testSingleNonFlagArg 117 testMultipleNonFlagArgs 118 testMultipleNonFlagStringArgsWithSpaces 119 testFlagsWithEquals 120 testComplicatedCommandLineStandard 121 testComplicatedCommandLineEnhanced 122 ASSERT:failed str test expected:<two> but was:<> 123 ASSERT:failed float test expected:<3> but was:<0.0> 124 ASSERT:incorrect number of argv values expected:<3> but was:<6> 125 126 Ran 16 tests. 127 128 FAILED (failures=3,skipped=3) 129 130 --- Executing the 'private' test suite --- 131 testGetFlagInfo 132 testItemInList 133 testColumns 134 testValidateBoolean 135 testValidateFloat 136 testValidateInteger 137 138 Ran 6 tests. 139 140 OK 141 142 --- Executing the 'public' test suite --- 143 test:WARN Enhanced version of getopt found. Standard tests will be skipped. 144 testHelp 145 testStandardHelpOutput 146 testEnhancedHelpOutput 147 testNoHelp 148 149 Ran 4 tests. 150 151 OK (skipped=1) 152 153 154 #------------------------------------------------------------------------------ 155 # Running the test suite with /bin/dash 156 # 157 158 159 #------------------------------------------------------------------------------ 160 # Running the test suite with /bin/ksh 161 # 162 shell name: ksh 163 shell version: unknown 164 165 --- Executing the 'defines' test suite --- 166 testFlagsDefine 167 testBoolean 168 testFloat 169 testInteger 170 testString 171 testShortNameLength 172 testFlagNameIsReserved 173 174 Ran 7 tests. 175 176 OK 177 178 --- Executing the 'parsing' test suite --- 179 test:WARN Enhanced version of getopt found. Standard tests will be skipped. 180 testGetoptStandard 181 testGetoptEnhanced 182 testValidBooleanShort 183 testValidBooleanLong 184 testValidFloats 185 testInvalidFloats 186 testValidIntegers 187 testInvalidIntegers 188 testValidStrings 189 testMultipleFlags 190 testSingleNonFlagArg 191 testMultipleNonFlagArgs 192 testMultipleNonFlagStringArgsWithSpaces 193 testFlagsWithEquals 194 testComplicatedCommandLineStandard 195 testComplicatedCommandLineEnhanced 196 ASSERT:failed str test expected:<two> but was:<> 197 ASSERT:failed float test expected:<3> but was:<0.0> 198 ASSERT:incorrect number of argv values expected:<3> but was:<6> 199 200 Ran 16 tests. 201 202 FAILED (failures=3,skipped=3) 203 204 --- Executing the 'private' test suite --- 205 testGetFlagInfo 206 testItemInList 207 testColumns 208 testValidateBoolean 209 testValidateFloat 210 testValidateInteger 211 212 Ran 6 tests. 213 214 OK 215 216 --- Executing the 'public' test suite --- 217 test:WARN Enhanced version of getopt found. Standard tests will be skipped. 218 testHelp 219 testStandardHelpOutput 220 testEnhancedHelpOutput 221 testNoHelp 222 223 Ran 4 tests. 224 225 OK (skipped=1) 226 227 228 #------------------------------------------------------------------------------ 229 # Running the test suite with /bin/pdksh 230 # 231 232 233 #------------------------------------------------------------------------------ 234 # Running the test suite with /bin/zsh 235 # 236