]> git.wh0rd.org - patches.git/blob - util-linux-tests-source.patch
scummvm random work
[patches.git] / util-linux-tests-source.patch
1 diff --git a/tests/run.sh b/tests/run.sh
2 index 51b7f73..a731cc1 100755
3 --- a/tests/run.sh
4 +++ b/tests/run.sh
5 @@ -1,6 +1,6 @@
6 #!/bin/bash
7
8 -. commands.sh
9 +. ./commands.sh
10
11 echo
12 echo "------------------ Utils-linux-ng regression tests ------------------"
13 diff --git a/tests/ts-cal-1 b/tests/ts-cal-1
14 index 0924201..14aa269 100755
15 --- a/tests/ts-cal-1
16 +++ b/tests/ts-cal-1
17 @@ -15,8 +15,8 @@
18 # GNU General Public License for more details.
19 #
20
21 -. commands.sh
22 -. functions.sh
23 +. ./commands.sh
24 +. ./functions.sh
25
26 TS_COMPONENT="cal"
27 TS_DESC="1 month"
28 diff --git a/tests/ts-cal-3 b/tests/ts-cal-3
29 index e8da56f..6a6ad89 100755
30 --- a/tests/ts-cal-3
31 +++ b/tests/ts-cal-3
32 @@ -15,8 +15,8 @@
33 # GNU General Public License for more details.
34 #
35
36 -. commands.sh
37 -. functions.sh
38 +. ./commands.sh
39 +. ./functions.sh
40
41 TS_COMPONENT="cal"
42 TS_DESC="3 months"
43 diff --git a/tests/ts-cal-y b/tests/ts-cal-y
44 index f9c60bd..e70eb15 100755
45 --- a/tests/ts-cal-y
46 +++ b/tests/ts-cal-y
47 @@ -15,8 +15,8 @@
48 # GNU General Public License for more details.
49 #
50
51 -. commands.sh
52 -. functions.sh
53 +. ./commands.sh
54 +. ./functions.sh
55
56 TS_COMPONENT="cal"
57 TS_DESC="year"
58 diff --git a/tests/ts-col-multibyte b/tests/ts-col-multibyte
59 index 4ca11cc..cc478df 100755
60 --- a/tests/ts-col-multibyte
61 +++ b/tests/ts-col-multibyte
62 @@ -1,7 +1,7 @@
63 #!/bin/bash
64
65 -. commands.sh
66 -. functions.sh
67 +. ./commands.sh
68 +. ./functions.sh
69
70 TS_COMPONENT="col"
71 TS_DESC="multibyte"
72 diff --git a/tests/ts-cramfs-mkfs b/tests/ts-cramfs-mkfs
73 index 4d7ca23..1738382 100755
74 --- a/tests/ts-cramfs-mkfs
75 +++ b/tests/ts-cramfs-mkfs
76 @@ -17,8 +17,8 @@
77
78 # Test cramfs
79
80 -. commands.sh
81 -. functions.sh
82 +. ./commands.sh
83 +. ./functions.sh
84
85 TS_COMPONENT="mkfs.cramfs"
86 TS_DESC="mkfs"
87 diff --git a/tests/ts-fstab-devname b/tests/ts-fstab-devname
88 index 64ab8e5..20fe24f 100755
89 --- a/tests/ts-fstab-devname
90 +++ b/tests/ts-fstab-devname
91 @@ -15,8 +15,8 @@
92 # GNU General Public License for more details.
93 #
94
95 -. commands.sh
96 -. functions.sh
97 +. ./commands.sh
98 +. ./functions.sh
99
100 TS_COMPONENT="fstab"
101 TS_DESC="devname"
102 diff --git a/tests/ts-fstab-devname2label b/tests/ts-fstab-devname2label
103 index 96ce9ac..40d83e0 100755
104 --- a/tests/ts-fstab-devname2label
105 +++ b/tests/ts-fstab-devname2label
106 @@ -19,8 +19,8 @@
107 # mount by devname -- with an LABEL in fstab
108 #
109
110 -. commands.sh
111 -. functions.sh
112 +. ./commands.sh
113 +. ./functions.sh
114
115 TS_COMPONENT="fstab"
116 TS_DESC="devname2label"
117 diff --git a/tests/ts-fstab-devname2uuid b/tests/ts-fstab-devname2uuid
118 index e81897e..ead5793 100755
119 --- a/tests/ts-fstab-devname2uuid
120 +++ b/tests/ts-fstab-devname2uuid
121 @@ -19,8 +19,8 @@
122 # mount by devname -- with an UUID in fstab
123 #
124
125 -. commands.sh
126 -. functions.sh
127 +. ./commands.sh
128 +. ./functions.sh
129
130 TS_COMPONENT="fstab"
131 TS_DESC="devname2uuid"
132 diff --git a/tests/ts-fstab-label b/tests/ts-fstab-label
133 index b6be12d..97b0684 100755
134 --- a/tests/ts-fstab-label
135 +++ b/tests/ts-fstab-label
136 @@ -15,8 +15,8 @@
137 # GNU General Public License for more details.
138 #
139
140 -. commands.sh
141 -. functions.sh
142 +. ./commands.sh
143 +. ./functions.sh
144
145 TS_COMPONENT="fstab"
146 TS_DESC="label"
147 diff --git a/tests/ts-fstab-label2devname b/tests/ts-fstab-label2devname
148 index 569e0a0..788b755 100755
149 --- a/tests/ts-fstab-label2devname
150 +++ b/tests/ts-fstab-label2devname
151 @@ -19,8 +19,8 @@
152 # mount by LABEL -- with an devname in fstab
153 #
154
155 -. commands.sh
156 -. functions.sh
157 +. ./commands.sh
158 +. ./functions.sh
159
160 TS_COMPONENT="fstab"
161 TS_DESC="label2devname"
162 diff --git a/tests/ts-fstab-label2uuid b/tests/ts-fstab-label2uuid
163 index 9579a42..1635b15 100755
164 --- a/tests/ts-fstab-label2uuid
165 +++ b/tests/ts-fstab-label2uuid
166 @@ -19,8 +19,8 @@
167 # mount by LABEL -- with an UUID in fstab
168 #
169
170 -. commands.sh
171 -. functions.sh
172 +. ./commands.sh
173 +. ./functions.sh
174
175 TS_COMPONENT="fstab"
176 TS_DESC="label2uuid"
177 diff --git a/tests/ts-fstab-symlink b/tests/ts-fstab-symlink
178 index d8174fd..ab0573b 100755
179 --- a/tests/ts-fstab-symlink
180 +++ b/tests/ts-fstab-symlink
181 @@ -15,8 +15,8 @@
182 # GNU General Public License for more details.
183 #
184
185 -. commands.sh
186 -. functions.sh
187 +. ./commands.sh
188 +. ./functions.sh
189
190 TS_COMPONENT="fstab"
191 TS_DESC="symlink"
192 diff --git a/tests/ts-fstab-uuid b/tests/ts-fstab-uuid
193 index f8a8d5c..37e14d7 100755
194 --- a/tests/ts-fstab-uuid
195 +++ b/tests/ts-fstab-uuid
196 @@ -15,8 +15,8 @@
197 # GNU General Public License for more details.
198 #
199
200 -. commands.sh
201 -. functions.sh
202 +. ./commands.sh
203 +. ./functions.sh
204
205 TS_COMPONENT="fstab"
206 TS_DESC="uuid"
207 diff --git a/tests/ts-fstab-uuid2devname b/tests/ts-fstab-uuid2devname
208 index da0e03c..ba3c6d7 100755
209 --- a/tests/ts-fstab-uuid2devname
210 +++ b/tests/ts-fstab-uuid2devname
211 @@ -19,8 +19,8 @@
212 # mount by UUID -- with an devname in fstab
213 #
214
215 -. commands.sh
216 -. functions.sh
217 +. ./commands.sh
218 +. ./functions.sh
219
220 TS_COMPONENT="fstab"
221 TS_DESC="uuid2devname"
222 diff --git a/tests/ts-fstab-uuid2label b/tests/ts-fstab-uuid2label
223 index 7f4c0af..b82c776 100755
224 --- a/tests/ts-fstab-uuid2label
225 +++ b/tests/ts-fstab-uuid2label
226 @@ -19,8 +19,8 @@
227 # mount by UUID -- with an LABEL in fstab
228 #
229
230 -. commands.sh
231 -. functions.sh
232 +. ./commands.sh
233 +. ./functions.sh
234
235 TS_COMPONENT="fstab"
236 TS_DESC="uuid2label"
237 diff --git a/tests/ts-hwclock-systohc b/tests/ts-hwclock-systohc
238 index 6375864..56d600b 100755
239 --- a/tests/ts-hwclock-systohc
240 +++ b/tests/ts-hwclock-systohc
241 @@ -17,8 +17,8 @@
242
243 # Test cramfs
244
245 -. commands.sh
246 -. functions.sh
247 +. ./commands.sh
248 +. ./functions.sh
249
250 TS_COMPONENT="hwclock"
251 TS_DESC="systohc"
252 diff --git a/tests/ts-ipcs-headers b/tests/ts-ipcs-headers
253 index 601bea8..f8dca77 100755
254 --- a/tests/ts-ipcs-headers
255 +++ b/tests/ts-ipcs-headers
256 @@ -1,7 +1,7 @@
257 #!/bin/bash
258
259 -. commands.sh
260 -. functions.sh
261 +. ./commands.sh
262 +. ./functions.sh
263
264 TS_COMPONENT="ipcs"
265 TS_DESC="headers"
266 diff --git a/tests/ts-ipcs-limits b/tests/ts-ipcs-limits
267 index 33624de..a6dcb93 100755
268 --- a/tests/ts-ipcs-limits
269 +++ b/tests/ts-ipcs-limits
270 @@ -1,7 +1,7 @@
271 #!/bin/bash
272
273 -. commands.sh
274 -. functions.sh
275 +. ./commands.sh
276 +. ./functions.sh
277
278 TS_COMPONENT="ipcs"
279 TS_DESC="limits overflow"
280 @@ -11,7 +11,7 @@ if [ $UID != 0 ]; then
281 ts_skip_nonroot
282 fi
283
284 -. ts-ipcs.sh
285 +. ./ts-ipcs.sh
286
287 ts_init "$*"
288
289 diff --git a/tests/ts-ipcs-limits2 b/tests/ts-ipcs-limits2
290 index 1c8307f..4ac0d6b 100755
291 --- a/tests/ts-ipcs-limits2
292 +++ b/tests/ts-ipcs-limits2
293 @@ -1,12 +1,12 @@
294 #!/bin/bash
295
296 -. commands.sh
297 -. functions.sh
298 +. ./commands.sh
299 +. ./functions.sh
300
301 TS_COMPONENT="ipcs"
302 TS_DESC="basic limits"
303
304 -. ts-ipcs.sh
305 +. ./ts-ipcs.sh
306
307 ts_init "$*"
308
309 diff --git a/tests/ts-login-checktty b/tests/ts-login-checktty
310 index f31efab..8f375fb 100755
311 --- a/tests/ts-login-checktty
312 +++ b/tests/ts-login-checktty
313 @@ -1,7 +1,7 @@
314 #!/bin/bash
315
316 -. commands.sh
317 -. functions.sh
318 +. ./commands.sh
319 +. ./functions.sh
320
321 TS_COMPONENT="login"
322 TS_DESC="checktty"
323 diff --git a/tests/ts-look-separator b/tests/ts-look-separator
324 index 0a43df8..dfd1bb6 100755
325 --- a/tests/ts-look-separator
326 +++ b/tests/ts-look-separator
327 @@ -12,8 +12,8 @@
328 # uniq > words
329 #
330
331 -. commands.sh
332 -. functions.sh
333 +. ./commands.sh
334 +. ./functions.sh
335
336 TS_COMPONENT="look"
337 TS_DESC="separator"
338 diff --git a/tests/ts-mount-devname b/tests/ts-mount-devname
339 index cf7450c..2d96ea7 100755
340 --- a/tests/ts-mount-devname
341 +++ b/tests/ts-mount-devname
342 @@ -15,8 +15,8 @@
343 # GNU General Public License for more details.
344 #
345
346 -. commands.sh
347 -. functions.sh
348 +. ./commands.sh
349 +. ./functions.sh
350
351 TS_COMPONENT="mount"
352 TS_DESC="devname"
353 diff --git a/tests/ts-mount-label b/tests/ts-mount-label
354 index f5d0bef..39afd7e 100755
355 --- a/tests/ts-mount-label
356 +++ b/tests/ts-mount-label
357 @@ -15,8 +15,8 @@
358 # GNU General Public License for more details.
359 #
360
361 -. commands.sh
362 -. functions.sh
363 +. ./commands.sh
364 +. ./functions.sh
365
366 TS_COMPONENT="mount"
367 TS_DESC="label"
368 diff --git a/tests/ts-mount-move b/tests/ts-mount-move
369 index 522b634..badc583 100755
370 --- a/tests/ts-mount-move
371 +++ b/tests/ts-mount-move
372 @@ -4,8 +4,8 @@
373 # test for mount --move and --bind
374 #
375
376 -. commands.sh
377 -. functions.sh
378 +. ./commands.sh
379 +. ./functions.sh
380
381 TS_COMPONENT="mount"
382 TS_DESC="move "
383 diff --git a/tests/ts-mount-mtablock b/tests/ts-mount-mtablock
384 index edcf723..35bbda0 100755
385 --- a/tests/ts-mount-mtablock
386 +++ b/tests/ts-mount-mtablock
387 @@ -1,7 +1,7 @@
388 #!/bin/bash
389
390 -. commands.sh
391 -. functions.sh
392 +. ./commands.sh
393 +. ./functions.sh
394
395 TS_COMPONENT="mount"
396 TS_DESC="mtablock"
397 diff --git a/tests/ts-mount-paths b/tests/ts-mount-paths
398 index 7a8e9ff..2a9b63a 100755
399 --- a/tests/ts-mount-paths
400 +++ b/tests/ts-mount-paths
401 @@ -1,7 +1,7 @@
402 #!/bin/bash
403
404 -. commands.sh
405 -. functions.sh
406 +. ./commands.sh
407 +. ./functions.sh
408
409 TS_COMPONENT="mount"
410 TS_DESC="basic paths"
411 diff --git a/tests/ts-mount-remount b/tests/ts-mount-remount
412 index 8a2e59e..7ed3447 100755
413 --- a/tests/ts-mount-remount
414 +++ b/tests/ts-mount-remount
415 @@ -3,8 +3,8 @@
416 #
417 # test for mount -o remount,ro
418 #
419 -. commands.sh
420 -. functions.sh
421 +. ./commands.sh
422 +. ./functions.sh
423
424 TS_COMPONENT="mount"
425 TS_DESC="remount"
426 diff --git a/tests/ts-mount-special b/tests/ts-mount-special
427 index aeffc25..0e5206f 100755
428 --- a/tests/ts-mount-special
429 +++ b/tests/ts-mount-special
430 @@ -4,8 +4,8 @@
431 # test for /sbin/mount.<type> suuport
432 #
433
434 -. commands.sh
435 -. functions.sh
436 +. ./commands.sh
437 +. ./functions.sh
438
439 TS_COMPONENT="mount"
440 TS_DESC="special program"
441 diff --git a/tests/ts-mount-uuid b/tests/ts-mount-uuid
442 index 64d934c..84dbe05 100755
443 --- a/tests/ts-mount-uuid
444 +++ b/tests/ts-mount-uuid
445 @@ -15,8 +15,8 @@
446 # GNU General Public License for more details.
447 #
448
449 -. commands.sh
450 -. functions.sh
451 +. ./commands.sh
452 +. ./functions.sh
453
454 TS_COMPONENT="mount"
455 TS_DESC="uuid"
456 diff --git a/tests/ts-namei-logic b/tests/ts-namei-logic
457 index 2c44c60..2afdb39 100755
458 --- a/tests/ts-namei-logic
459 +++ b/tests/ts-namei-logic
460 @@ -1,7 +1,7 @@
461 #!/bin/bash
462
463 -. commands.sh
464 -. functions.sh
465 +. ./commands.sh
466 +. ./functions.sh
467
468 TS_COMPONENT="namei"
469 TS_DESC="logic"
470 diff --git a/tests/ts-swapon-devname b/tests/ts-swapon-devname
471 index 4193fb0..4ec540d 100755
472 --- a/tests/ts-swapon-devname
473 +++ b/tests/ts-swapon-devname
474 @@ -15,8 +15,8 @@
475 # GNU General Public License for more details.
476 #
477
478 -. commands.sh
479 -. functions.sh
480 +. ./commands.sh
481 +. ./functions.sh
482
483 TS_COMPONENT="swapon"
484 TS_DESC="devname"
485 diff --git a/tests/ts-swapon-label b/tests/ts-swapon-label
486 index 0f79340..0706ee9 100755
487 --- a/tests/ts-swapon-label
488 +++ b/tests/ts-swapon-label
489 @@ -15,8 +15,8 @@
490 # GNU General Public License for more details.
491 #
492
493 -. commands.sh
494 -. functions.sh
495 +. ./commands.sh
496 +. ./functions.sh
497
498 TS_COMPONENT="swapon"
499 TS_DESC="label"
500 diff --git a/tests/ts-swapon-uuid b/tests/ts-swapon-uuid
501 index 14d79ca..30f5021 100755
502 --- a/tests/ts-swapon-uuid
503 +++ b/tests/ts-swapon-uuid
504 @@ -15,8 +15,8 @@
505 # GNU General Public License for more details.
506 #
507
508 -. commands.sh
509 -. functions.sh
510 +. ./commands.sh
511 +. ./functions.sh
512
513 TS_COMPONENT="swapon"
514 TS_DESC="uuid"