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 11Fri Jul 11 20:41:28 GMT 2008 12$ uname -mprsv 13Linux 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 unknown 14 15 16#------------------------------------------------------------------------------ 17# Running the test suite with /bin/sh 18# 19 20--- Executing the 'defines' test suite --- 21# 22# Performing tests 23# 24testFlagsDefine 25testBoolean 26testFloat 27testInteger 28testString 29testShortNameLength 30 31# 32# Test report 33# 34tests passed: 65 100% 35tests failed: 0 0% 36tests skipped: 0 0% 37tests total: 65 100% 38 39--- Executing the 'parsing' test suite --- 40# 41# Performing tests 42# 43testValidBooleanShort 44testValidBooleanLong 45testValidFloats 46testInvalidFloats 47testValidIntegers 48testInvalidIntegers 49testValidStrings 50testMultipleFlags 51testSingleNonFlagArg 52testMultipleNonFlagArgs 53testMultipleNonFlagStringArgsWithSpaces 54 55# 56# Test report 57# 58tests passed: 179 100% 59tests failed: 0 0% 60tests skipped: 0 0% 61tests total: 179 100% 62 63--- Executing the 'private' test suite --- 64# 65# Performing tests 66# 67testGetFlagInfo 68testItemInList 69testValidateBoolean 70testValidateFloat 71testValidateInteger 72 73# 74# Test report 75# 76tests passed: 50 100% 77tests failed: 0 0% 78tests skipped: 0 0% 79tests total: 50 100% 80 81--- Executing the 'public' test suite --- 82# 83# Performing tests 84# 85testHelp 86testStandardHelpOutput 87testEnhancedHelpOutput 88 89# 90# Test report 91# 92tests passed: 8 89% 93tests failed: 0 0% 94tests skipped: 1 11% 95tests total: 9 100% 96 97 98#------------------------------------------------------------------------------ 99# Running the test suite with /bin/bash 100# 101 102GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu) 103Copyright (C) 2007 Free Software Foundation, Inc. 104 105--- Executing the 'defines' test suite --- 106# 107# Performing tests 108# 109testFlagsDefine 110testBoolean 111testFloat 112testInteger 113testString 114testShortNameLength 115 116# 117# Test report 118# 119tests passed: 65 100% 120tests failed: 0 0% 121tests skipped: 0 0% 122tests total: 65 100% 123 124--- Executing the 'parsing' test suite --- 125# 126# Performing tests 127# 128testValidBooleanShort 129testValidBooleanLong 130testValidFloats 131testInvalidFloats 132testValidIntegers 133testInvalidIntegers 134testValidStrings 135testMultipleFlags 136testSingleNonFlagArg 137testMultipleNonFlagArgs 138testMultipleNonFlagStringArgsWithSpaces 139 140# 141# Test report 142# 143tests passed: 179 100% 144tests failed: 0 0% 145tests skipped: 0 0% 146tests total: 179 100% 147 148--- Executing the 'private' test suite --- 149# 150# Performing tests 151# 152testGetFlagInfo 153testItemInList 154testValidateBoolean 155testValidateFloat 156testValidateInteger 157 158# 159# Test report 160# 161tests passed: 50 100% 162tests failed: 0 0% 163tests skipped: 0 0% 164tests total: 50 100% 165 166--- Executing the 'public' test suite --- 167# 168# Performing tests 169# 170testHelp 171testStandardHelpOutput 172testEnhancedHelpOutput 173 174# 175# Test report 176# 177tests passed: 8 89% 178tests failed: 0 0% 179tests skipped: 1 11% 180tests total: 9 100% 181 182 183#------------------------------------------------------------------------------ 184# Running the test suite with /bin/dash 185# 186 187--- Executing the 'defines' test suite --- 188# 189# Performing tests 190# 191testFlagsDefine 192testBoolean 193testFloat 194testInteger 195testString 196testShortNameLength 197 198# 199# Test report 200# 201tests passed: 65 100% 202tests failed: 0 0% 203tests skipped: 0 0% 204tests total: 65 100% 205 206--- Executing the 'parsing' test suite --- 207# 208# Performing tests 209# 210testValidBooleanShort 211testValidBooleanLong 212testValidFloats 213testInvalidFloats 214testValidIntegers 215testInvalidIntegers 216testValidStrings 217testMultipleFlags 218testSingleNonFlagArg 219testMultipleNonFlagArgs 220testMultipleNonFlagStringArgsWithSpaces 221 222# 223# Test report 224# 225tests passed: 179 100% 226tests failed: 0 0% 227tests skipped: 0 0% 228tests total: 179 100% 229 230--- Executing the 'private' test suite --- 231# 232# Performing tests 233# 234testGetFlagInfo 235testItemInList 236testValidateBoolean 237testValidateFloat 238testValidateInteger 239 240# 241# Test report 242# 243tests passed: 50 100% 244tests failed: 0 0% 245tests skipped: 0 0% 246tests total: 50 100% 247 248--- Executing the 'public' test suite --- 249# 250# Performing tests 251# 252testHelp 253testStandardHelpOutput 254testEnhancedHelpOutput 255 256# 257# Test report 258# 259tests passed: 8 89% 260tests failed: 0 0% 261tests skipped: 1 11% 262tests total: 9 100% 263 264 265#------------------------------------------------------------------------------ 266# Running the test suite with /bin/ksh 267# 268 269 version sh (AT&T Research) 1993-12-28 s+ 270 271--- Executing the 'defines' test suite --- 272# 273# Performing tests 274# 275testFlagsDefine 276testBoolean 277testFloat 278testInteger 279testString 280testShortNameLength 281 282# 283# Test report 284# 285tests passed: 65 100% 286tests failed: 0 0% 287tests skipped: 0 0% 288tests total: 65 100% 289 290--- Executing the 'parsing' test suite --- 291# 292# Performing tests 293# 294testValidBooleanShort 295testValidBooleanLong 296testValidFloats 297testInvalidFloats 298testValidIntegers 299testInvalidIntegers 300testValidStrings 301testMultipleFlags 302testSingleNonFlagArg 303testMultipleNonFlagArgs 304testMultipleNonFlagStringArgsWithSpaces 305 306# 307# Test report 308# 309tests passed: 179 100% 310tests failed: 0 0% 311tests skipped: 0 0% 312tests total: 179 100% 313 314--- Executing the 'private' test suite --- 315# 316# Performing tests 317# 318testGetFlagInfo 319testItemInList 320testValidateBoolean 321testValidateFloat 322testValidateInteger 323 324# 325# Test report 326# 327tests passed: 50 100% 328tests failed: 0 0% 329tests skipped: 0 0% 330tests total: 50 100% 331 332--- Executing the 'public' test suite --- 333# 334# Performing tests 335# 336testHelp 337testStandardHelpOutput 338testEnhancedHelpOutput 339 340# 341# Test report 342# 343tests passed: 8 89% 344tests failed: 0 0% 345tests skipped: 1 11% 346tests total: 9 100% 347 348 349#------------------------------------------------------------------------------ 350# Running the test suite with /bin/pdksh 351# 352 353--- Executing the 'defines' test suite --- 354# 355# Performing tests 356# 357testFlagsDefine 358testBoolean 359testFloat 360testInteger 361testString 362testShortNameLength 363 364# 365# Test report 366# 367tests passed: 65 100% 368tests failed: 0 0% 369tests skipped: 0 0% 370tests total: 65 100% 371 372--- Executing the 'parsing' test suite --- 373# 374# Performing tests 375# 376testValidBooleanShort 377testValidBooleanLong 378testValidFloats 379testInvalidFloats 380testValidIntegers 381testInvalidIntegers 382testValidStrings 383testMultipleFlags 384testSingleNonFlagArg 385testMultipleNonFlagArgs 386testMultipleNonFlagStringArgsWithSpaces 387 388# 389# Test report 390# 391tests passed: 179 100% 392tests failed: 0 0% 393tests skipped: 0 0% 394tests total: 179 100% 395 396--- Executing the 'private' test suite --- 397# 398# Performing tests 399# 400testGetFlagInfo 401testItemInList 402testValidateBoolean 403testValidateFloat 404testValidateInteger 405 406# 407# Test report 408# 409tests passed: 50 100% 410tests failed: 0 0% 411tests skipped: 0 0% 412tests total: 50 100% 413 414--- Executing the 'public' test suite --- 415# 416# Performing tests 417# 418testHelp 419testStandardHelpOutput 420testEnhancedHelpOutput 421 422# 423# Test report 424# 425tests passed: 8 89% 426tests failed: 0 0% 427tests skipped: 1 11% 428tests total: 9 100% 429 430 431#------------------------------------------------------------------------------ 432# Running the test suite with /bin/zsh 433# 434 435version: 4.3.4 436 437--- Executing the 'defines' test suite --- 438# 439# Performing tests 440# 441testFlagsDefine 442testBoolean 443testFloat 444testInteger 445testString 446testShortNameLength 447 448# 449# Test report 450# 451tests passed: 65 100% 452tests failed: 0 0% 453tests skipped: 0 0% 454tests total: 65 100% 455 456--- Executing the 'parsing' test suite --- 457# 458# Performing tests 459# 460testValidBooleanShort 461testValidBooleanLong 462testValidFloats 463testInvalidFloats 464testValidIntegers 465testInvalidIntegers 466testValidStrings 467testMultipleFlags 468testSingleNonFlagArg 469testMultipleNonFlagArgs 470testMultipleNonFlagStringArgsWithSpaces 471 472# 473# Test report 474# 475tests passed: 179 100% 476tests failed: 0 0% 477tests skipped: 0 0% 478tests total: 179 100% 479 480--- Executing the 'private' test suite --- 481# 482# Performing tests 483# 484testGetFlagInfo 485testItemInList 486testValidateBoolean 487testValidateFloat 488testValidateInteger 489 490# 491# Test report 492# 493tests passed: 50 100% 494tests failed: 0 0% 495tests skipped: 0 0% 496tests total: 50 100% 497 498--- Executing the 'public' test suite --- 499# 500# Performing tests 501# 502testHelp 503testStandardHelpOutput 504testEnhancedHelpOutput 505 506# 507# Test report 508# 509tests passed: 8 89% 510tests failed: 0 0% 511tests skipped: 1 11% 512tests total: 9 100% 513