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 11Tue Jan 15 00:08:36 UTC 2013 12$ uname -mprsv 13FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Fri Dec 7 20:50:48 GMT 2012 kirk@freenas:/usr/obj/usr/src/sys/GENERIC amd64 amd64 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 29testFlagNameIsReserved 30 31Ran 7 tests. 32 33OK 34 35--- Executing the 'parsing' test suite --- 36test:WARN Standard version of getopt found. Enhanced tests will be skipped. 37testGetoptStandard 38testGetoptEnhanced 39testValidBoolsShort 40testValidBoolsLong 41testValidFloats 42testInvalidFloats 43testValidIntegers 44testInvalidIntegers 45testValidStrings 46testMultipleFlags 47testSingleNonFlagArg 48testMultipleNonFlagArgs 49testMultipleNonFlagStringArgsWithSpaces 50testFlagsWithEquals 51testComplicatedCommandLineStandard 52testComplicatedCommandLineEnhanced 53 54Ran 16 tests. 55 56OK 57 58--- Executing the 'private' test suite --- 59testColumns 60testGenOptStr 61testGetFlagInfo 62testItemInList 63testValidBool 64testValidFloatBuiltin 65testValidFloatExpr 66testValidIntBuiltin 67testValidIntExpr 68testMathBuiltin 69testMathExpr 70testStrlenBuiltin 71testStrlenExpr 72 73Ran 13 tests. 74 75OK 76 77--- Executing the 'public' test suite --- 78test:WARN Standard version of getopt found. Enhanced tests will be skipped. 79testHelp 80testStandardHelpOutput 81testEnhancedHelpOutput 82testNoHelp 83 84Ran 4 tests. 85 86OK (skipped=5) 87 88 89#------------------------------------------------------------------------------ 90# Running the test suite with /bin/bash 91# 92 93 94#------------------------------------------------------------------------------ 95# Running the test suite with /bin/dash 96# 97 98 99#------------------------------------------------------------------------------ 100# Running the test suite with /bin/ksh 101# 102 103 104#------------------------------------------------------------------------------ 105# Running the test suite with /bin/pdksh 106# 107 108 109#------------------------------------------------------------------------------ 110# Running the test suite with /bin/zsh 111# 112