diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/od.tests | 44 |
1 files changed, 16 insertions, 28 deletions
diff --git a/testsuite/od.tests b/testsuite/od.tests index d6f50a206..677968967 100755 --- a/testsuite/od.tests +++ b/testsuite/od.tests | |||
@@ -90,9 +90,8 @@ testing "od -d (little-endian)" \ | |||
90 | "" "$input" | 90 | "" "$input" |
91 | SKIP= | 91 | SKIP= |
92 | 92 | ||
93 | optional !DESKTOP #DESKTOP: unrecognized option: D | ||
94 | $le || SKIP=1 | 93 | $le || SKIP=1 |
95 | testing "od -D (!DESKTOP little-endian)" \ | 94 | testing "od -D (little-endian)" \ |
96 | "od -D" \ | 95 | "od -D" \ |
97 | "\ | 96 | "\ |
98 | 0000000 167969281 4265820737 | 97 | 0000000 167969281 4265820737 |
@@ -133,9 +132,8 @@ testing "od -f (little-endian)" \ | |||
133 | "" "$input" | 132 | "" "$input" |
134 | SKIP= | 133 | SKIP= |
135 | 134 | ||
136 | optional !DESKTOP #DESKTOP: unrecognized option: H | ||
137 | $le || SKIP=1 | 135 | $le || SKIP=1 |
138 | testing "od -H (!DESKTOP little-endian)" \ | 136 | testing "od -H (little-endian)" \ |
139 | "od -H" \ | 137 | "od -H" \ |
140 | "\ | 138 | "\ |
141 | 0000000 0a030201 fe434241 | 139 | 0000000 0a030201 fe434241 |
@@ -144,9 +142,8 @@ testing "od -H (!DESKTOP little-endian)" \ | |||
144 | "" "$input" | 142 | "" "$input" |
145 | SKIP= | 143 | SKIP= |
146 | 144 | ||
147 | optional !DESKTOP #DESKTOP: unrecognized option: X | ||
148 | $le || SKIP=1 | 145 | $le || SKIP=1 |
149 | testing "od -X (!DESKTOP little-endian)" \ | 146 | testing "od -X (little-endian)" \ |
150 | "od -X" \ | 147 | "od -X" \ |
151 | "\ | 148 | "\ |
152 | 0000000 0a030201 fe434241 | 149 | 0000000 0a030201 fe434241 |
@@ -175,51 +172,42 @@ testing "od -x (little-endian)" \ | |||
175 | "" "$input" | 172 | "" "$input" |
176 | SKIP= | 173 | SKIP= |
177 | 174 | ||
178 | optional !DESKTOP #DESKTOP: unrecognized option: I | ||
179 | $le || SKIP=1 | 175 | $le || SKIP=1 |
180 | testing "od -I (!DESKTOP little-endian)" \ | 176 | testing "od -i (little-endian)" \ |
181 | "od -I" \ | 177 | "od -i" \ |
182 | "\ | 178 | "\ |
183 | 0000000 -125183517527965183 | 179 | 0000000 167969281 -29146559 |
184 | 0000010 | 180 | 0000010 |
185 | " \ | 181 | " \ |
186 | "" "$input" | 182 | "" "$input" |
187 | SKIP= | 183 | SKIP= |
188 | 184 | ||
189 | optional !DESKTOP #DESKTOP: unrecognized option: L | ||
190 | $le || SKIP=1 | 185 | $le || SKIP=1 |
191 | testing "od -L (!DESKTOP little-endian)" \ | 186 | testing "od -O (little-endian)" \ |
192 | "od -L" \ | 187 | "od -O" \ |
193 | "\ | 188 | "\ |
194 | 0000000 -125183517527965183 | 189 | 0000000 01200601001 37620641101 |
195 | 0000010 | 190 | 0000010 |
196 | " \ | 191 | " \ |
197 | "" "$input" | 192 | "" "$input" |
198 | SKIP= | 193 | SKIP= |
199 | 194 | ||
195 | # This probably also depends on word width of the arch (what is "long"?) | ||
200 | $le || SKIP=1 | 196 | $le || SKIP=1 |
201 | testing "od -i (little-endian)" \ | 197 | testing "od -I (little-endian)" \ |
202 | "od -i" \ | 198 | "od -I" \ |
203 | "\ | 199 | "\ |
204 | 0000000 167969281 -29146559 | 200 | 0000000 -125183517527965183 |
205 | 0000010 | 201 | 0000010 |
206 | " \ | 202 | " \ |
207 | "" "$input" | 203 | "" "$input" |
208 | SKIP= | 204 | testing "od -L (little-endian)" \ |
209 | 205 | "od -L" \ | |
210 | optional !DESKTOP #DESKTOP: unrecognized option: O | ||
211 | $le || SKIP=1 | ||
212 | testing "od -O (!DESKTOP little-endian)" \ | ||
213 | "od -O" \ | ||
214 | "\ | 206 | "\ |
215 | 0000000 01200601001 37620641101 | 207 | 0000000 -125183517527965183 |
216 | 0000010 | 208 | 0000010 |
217 | " \ | 209 | " \ |
218 | "" "$input" | 210 | "" "$input" |
219 | SKIP= | ||
220 | |||
221 | # This probably also depends on word width of the arch (what is "long"?) | ||
222 | $le || SKIP=1 | ||
223 | testing "od -l (little-endian)" \ | 211 | testing "od -l (little-endian)" \ |
224 | "od -l" \ | 212 | "od -l" \ |
225 | "\ | 213 | "\ |