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