366 lines
7.1 KiB
Text
366 lines
7.1 KiB
Text
#------------------------------------------------------------------------------
|
|
# System data
|
|
#
|
|
|
|
# test run info
|
|
shells="/bin/sh /bin/bash /bin/dash /bin/ksh /bin/pdksh /bin/zsh"
|
|
tests=" shflags_test_defines.sh shflags_test_parsing.sh shflags_test_private.sh shflags_test_public.sh"
|
|
|
|
# system info
|
|
$ date
|
|
Fri Jul 11 20:26:24 GMT 2008
|
|
$ uname -mprsv
|
|
SunOS 5.9 Generic_117172-08 i86pc i386
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Running the test suite with /bin/sh
|
|
#
|
|
|
|
--- Executing the 'defines' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testFlagsDefine
|
|
testBoolean
|
|
testFloat
|
|
testInteger
|
|
testString
|
|
testShortNameLength
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 65 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 65 100%
|
|
|
|
--- Executing the 'parsing' test suite ---
|
|
test:WARN Standard version of getopt found. Some tests will be skipped.
|
|
#
|
|
# Performing tests
|
|
#
|
|
testValidBooleanShort
|
|
testValidBooleanLong
|
|
testValidFloats
|
|
testInvalidFloats
|
|
testValidIntegers
|
|
testInvalidIntegers
|
|
testValidStrings
|
|
ASSERT:FLAGS (string with spaces) returned a non-zero result
|
|
ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
|
|
flags:ERROR the available getopt does not support spaces in options
|
|
testMultipleFlags
|
|
testSingleNonFlagArg
|
|
testMultipleNonFlagArgs
|
|
testMultipleNonFlagStringArgsWithSpaces
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 89 50%
|
|
tests failed: 2 1%
|
|
tests skipped: 88 49%
|
|
tests total: 179 100%
|
|
|
|
--- Executing the 'private' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testGetFlagInfo
|
|
testItemInList
|
|
testValidateBoolean
|
|
testValidateFloat
|
|
testValidateInteger
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 50 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 50 100%
|
|
|
|
--- Executing the 'public' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testHelp
|
|
testStandardHelpOutput
|
|
testEnhancedHelpOutput
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 5 56%
|
|
tests failed: 0 0%
|
|
tests skipped: 4 44%
|
|
tests total: 9 100%
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Running the test suite with /bin/bash
|
|
#
|
|
|
|
GNU bash, version 2.05.0(1)-release (i386-pc-solaris2.9)
|
|
Copyright 2000 Free Software Foundation, Inc.
|
|
|
|
--- Executing the 'defines' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testFlagsDefine
|
|
testBoolean
|
|
testFloat
|
|
testInteger
|
|
testString
|
|
testShortNameLength
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 65 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 65 100%
|
|
|
|
--- Executing the 'parsing' test suite ---
|
|
test:WARN Standard version of getopt found. Some tests will be skipped.
|
|
#
|
|
# Performing tests
|
|
#
|
|
testValidBooleanShort
|
|
testValidBooleanLong
|
|
testValidFloats
|
|
testInvalidFloats
|
|
testValidIntegers
|
|
testInvalidIntegers
|
|
testValidStrings
|
|
ASSERT:FLAGS (string with spaces) returned a non-zero result
|
|
ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
|
|
flags:ERROR the available getopt does not support spaces in options
|
|
testMultipleFlags
|
|
testSingleNonFlagArg
|
|
testMultipleNonFlagArgs
|
|
testMultipleNonFlagStringArgsWithSpaces
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 89 50%
|
|
tests failed: 2 1%
|
|
tests skipped: 88 49%
|
|
tests total: 179 100%
|
|
|
|
--- Executing the 'private' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testGetFlagInfo
|
|
testItemInList
|
|
testValidateBoolean
|
|
testValidateFloat
|
|
testValidateInteger
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 50 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 50 100%
|
|
|
|
--- Executing the 'public' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testHelp
|
|
testStandardHelpOutput
|
|
testEnhancedHelpOutput
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 5 56%
|
|
tests failed: 0 0%
|
|
tests skipped: 4 44%
|
|
tests total: 9 100%
|
|
|
|
test:WARN unable to run tests with the /bin/dash shell
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Running the test suite with /bin/ksh
|
|
#
|
|
|
|
--- Executing the 'defines' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testFlagsDefine
|
|
testBoolean
|
|
testFloat
|
|
testInteger
|
|
testString
|
|
testShortNameLength
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 65 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 65 100%
|
|
|
|
--- Executing the 'parsing' test suite ---
|
|
test:WARN Standard version of getopt found. Some tests will be skipped.
|
|
#
|
|
# Performing tests
|
|
#
|
|
testValidBooleanShort
|
|
testValidBooleanLong
|
|
testValidFloats
|
|
testInvalidFloats
|
|
testValidIntegers
|
|
testInvalidIntegers
|
|
testValidStrings
|
|
ASSERT:FLAGS (string with spaces) returned a non-zero result
|
|
ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
|
|
flags:ERROR the available getopt does not support spaces in options
|
|
testMultipleFlags
|
|
testSingleNonFlagArg
|
|
testMultipleNonFlagArgs
|
|
testMultipleNonFlagStringArgsWithSpaces
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 89 50%
|
|
tests failed: 2 1%
|
|
tests skipped: 88 49%
|
|
tests total: 179 100%
|
|
|
|
--- Executing the 'private' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testGetFlagInfo
|
|
testItemInList
|
|
testValidateBoolean
|
|
testValidateFloat
|
|
testValidateInteger
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 50 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 50 100%
|
|
|
|
--- Executing the 'public' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testHelp
|
|
testStandardHelpOutput
|
|
testEnhancedHelpOutput
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 5 56%
|
|
tests failed: 0 0%
|
|
tests skipped: 4 44%
|
|
tests total: 9 100%
|
|
|
|
test:WARN unable to run tests with the /bin/pdksh shell
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Running the test suite with /bin/zsh
|
|
#
|
|
|
|
version: 3.0.8
|
|
|
|
--- Executing the 'defines' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testFlagsDefine
|
|
testBoolean
|
|
testFloat
|
|
testInteger
|
|
testString
|
|
testShortNameLength
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 65 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 65 100%
|
|
|
|
--- Executing the 'parsing' test suite ---
|
|
test:WARN Standard version of getopt found. Some tests will be skipped.
|
|
#
|
|
# Performing tests
|
|
#
|
|
testValidBooleanShort
|
|
testValidBooleanLong
|
|
testValidFloats
|
|
testInvalidFloats
|
|
testValidIntegers
|
|
testInvalidIntegers
|
|
testValidStrings
|
|
ASSERT:FLAGS (string with spaces) returned a non-zero result
|
|
ASSERT:string (string with spaces) test failed.string (string with spaces) test failed. expected:<string with spaces> but was:<>
|
|
flags:ERROR the available getopt does not support spaces in options
|
|
testMultipleFlags
|
|
testSingleNonFlagArg
|
|
testMultipleNonFlagArgs
|
|
testMultipleNonFlagStringArgsWithSpaces
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 89 50%
|
|
tests failed: 2 1%
|
|
tests skipped: 88 49%
|
|
tests total: 179 100%
|
|
|
|
--- Executing the 'private' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testGetFlagInfo
|
|
testItemInList
|
|
testValidateBoolean
|
|
testValidateFloat
|
|
testValidateInteger
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 50 100%
|
|
tests failed: 0 0%
|
|
tests skipped: 0 0%
|
|
tests total: 50 100%
|
|
|
|
--- Executing the 'public' test suite ---
|
|
#
|
|
# Performing tests
|
|
#
|
|
testHelp
|
|
testStandardHelpOutput
|
|
testEnhancedHelpOutput
|
|
|
|
#
|
|
# Test report
|
|
#
|
|
tests passed: 5 56%
|
|
tests failed: 0 0%
|
|
tests skipped: 4 44%
|
|
tests total: 9 100%
|