@@ -9,7 +9,7 @@ load 'util/init.sh'
9
9
test_util.setup_pkg " $pkg " ; {
10
10
:
11
11
}; test_util.finish_pkg
12
- test_util.mock_clone " $site /$pkg "
12
+ test_util.mock_clone " $pkg " " $ site /$pkg "
13
13
14
14
run do-plumbing-link-bins " $site /$pkg "
15
15
@@ -26,7 +26,7 @@ load 'util/init.sh'
26
26
touch ' binn/exec1'
27
27
touch ' binn/exec2.sh'
28
28
}; test_util.finish_pkg
29
- test_util.mock_clone " $site /$pkg "
29
+ test_util.mock_clone " $pkg " " $ site /$pkg "
30
30
31
31
run do-plumbing-link-bins " $site /$pkg "
32
32
@@ -48,7 +48,7 @@ load 'util/init.sh'
48
48
mkdir ' ff'
49
49
touch ' ff/exec3'
50
50
}; test_util.finish_pkg
51
- test_util.mock_clone " $site /$pkg "
51
+ test_util.mock_clone " $pkg " " $ site /$pkg "
52
52
53
53
run do-plumbing-link-bins " $site /$pkg "
54
54
@@ -68,7 +68,7 @@ load 'util/init.sh'
68
68
touch ' weird_dir/exec1'
69
69
touch ' weird_dir/exec2.sh'
70
70
}; test_util.finish_pkg
71
- test_util.mock_clone " $site /$pkg "
71
+ test_util.mock_clone " $pkg " " $ site /$pkg "
72
72
73
73
run do-plumbing-link-bins " $site /$pkg "
74
74
@@ -89,7 +89,7 @@ load 'util/init.sh'
89
89
mkdir ' weird_dir'
90
90
touch ' weird_dir/exec3'
91
91
}; test_util.finish_pkg
92
- test_util.mock_clone " $site /$pkg "
92
+ test_util.mock_clone " $pkg " " $ site /$pkg "
93
93
94
94
run do-plumbing-link-bins " $site /$pkg "
95
95
@@ -108,7 +108,7 @@ load 'util/init.sh'
108
108
touch ' bin/exec1'
109
109
touch ' bin/exec2.sh'
110
110
}; test_util.finish_pkg
111
- test_util.mock_clone " $site /$pkg "
111
+ test_util.mock_clone " $pkg " " $ site /$pkg "
112
112
113
113
run do-plumbing-link-bins " $site /$pkg "
114
114
@@ -126,7 +126,7 @@ load 'util/init.sh'
126
126
touch ' bins/exec1'
127
127
touch ' bins/exec2.sh'
128
128
}; test_util.finish_pkg
129
- test_util.mock_clone " $site /$pkg "
129
+ test_util.mock_clone " $pkg " " $ site /$pkg "
130
130
131
131
run do-plumbing-link-bins " $site /$pkg "
132
132
@@ -144,7 +144,7 @@ load 'util/init.sh'
144
144
touch ' exec2.sh'
145
145
chmod +x ' exec1' ' exec2.sh'
146
146
}; test_util.finish_pkg
147
- test_util.mock_clone " $site /$pkg "
147
+ test_util.mock_clone " $pkg " " $ site /$pkg "
148
148
149
149
run do-plumbing-link-bins " $site /$pkg "
150
150
@@ -161,7 +161,7 @@ load 'util/init.sh'
161
161
touch ' exec1'
162
162
touch ' exec2.sh'
163
163
}; test_util.finish_pkg
164
- test_util.mock_clone " $site /$pkg "
164
+ test_util.mock_clone " $pkg " " $ site /$pkg "
165
165
166
166
run do-plumbing-link-bins " $site /$pkg "
167
167
@@ -180,7 +180,7 @@ load 'util/init.sh'
180
180
touch ' exec2'
181
181
chmod +x ' exec2'
182
182
}; test_util.finish_pkg
183
- test_util.mock_clone " $site /$pkg "
183
+ test_util.mock_clone " $pkg " " $ site /$pkg "
184
184
185
185
run do-plumbing-link-bins " $site /$pkg "
186
186
@@ -199,7 +199,7 @@ load 'util/init.sh'
199
199
touch ' bin/exec1'
200
200
touch ' bin/exec2.sh'
201
201
}; test_util.finish_pkg
202
- test_util.mock_clone " $site /$pkg "
202
+ test_util.mock_clone " $pkg " " $ site /$pkg "
203
203
204
204
run do-plumbing-link-bins " $site /$pkg "
205
205
@@ -219,7 +219,7 @@ load 'util/init.sh'
219
219
touch ' bin/exec1'
220
220
touch ' bin/exec2.sh'
221
221
}; test_util.finish_pkg
222
- test_util.mock_clone " $site /$pkg "
222
+ test_util.mock_clone " $pkg " " $ site /$pkg "
223
223
224
224
run do-plumbing-link-bins " $site /$pkg "
225
225
@@ -239,7 +239,7 @@ load 'util/init.sh'
239
239
touch ' bin/exec1'
240
240
touch ' bin/exec2.sh'
241
241
}; test_util.finish_pkg
242
- test_util.mock_clone " $site /$pkg "
242
+ test_util.mock_clone " $pkg " " $ site /$pkg "
243
243
244
244
run do-plumbing-link-bins " $site /$pkg "
245
245
@@ -258,7 +258,7 @@ load 'util/init.sh'
258
258
touch ' bin/exec1'
259
259
touch ' bin/exec2.sh'
260
260
}; test_util.finish_pkg
261
- test_util.mock_clone " $site /$pkg "
261
+ test_util.mock_clone " $pkg " " $ site /$pkg "
262
262
263
263
run do-plumbing-link-bins " $site /$pkg "
264
264
@@ -277,7 +277,7 @@ load 'util/init.sh'
277
277
touch ' bin/exec1'
278
278
touch ' bin/exec2.sh'
279
279
}; test_util.finish_pkg
280
- test_util.mock_clone " $site /$pkg "
280
+ test_util.mock_clone " $pkg " " $ site /$pkg "
281
281
282
282
run do-plumbing-link-bins " $site /$pkg "
283
283
@@ -290,8 +290,8 @@ load 'util/init.sh'
290
290
local dir=' package'
291
291
local dir2=' username/package2'
292
292
293
- test_util.create_pkg_dir " $dir "
294
- test_util.create_pkg_dir " $dir2 "
293
+ test_util.create_package " $dir "
294
+ test_util.create_package " $dir2 "
295
295
296
296
# implicit call to do-plumbing-link-bins
297
297
run do-link " $BPM_ORIGIN_DIR /$dir " " $BPM_ORIGIN_DIR /$dir2 "
@@ -311,7 +311,7 @@ load 'util/init.sh'
311
311
mkdir ' dir'
312
312
touch ' dir/.gitkeep'
313
313
}; test_util.finish_pkg
314
- test_util.mock_clone " $site /$pkg "
314
+ test_util.mock_clone " $pkg " " $ site /$pkg "
315
315
316
316
run do-plumbing-link-bins " $site /$pkg "
317
317
@@ -326,7 +326,7 @@ load 'util/init.sh'
326
326
test_util.setup_pkg " $pkg " ; {
327
327
echo ' BINS="some_file"' > ' package.sh'
328
328
}; test_util.finish_pkg
329
- test_util.mock_clone " $site /$pkg "
329
+ test_util.mock_clone " $pkg " " $ site /$pkg "
330
330
331
331
run do-plumbing-link-bins " $site /$pkg "
332
332
@@ -341,7 +341,7 @@ load 'util/init.sh'
341
341
echo ' binDirs = ["file"]' > ' bpm.toml'
342
342
touch ' file'
343
343
}; test_util.finish_pkg
344
- test_util.mock_clone " $site /$pkg "
344
+ test_util.mock_clone " $pkg " " $ site /$pkg "
345
345
346
346
run do-plumbing-link-bins " $site /$pkg "
347
347
@@ -356,7 +356,7 @@ load 'util/init.sh'
356
356
test_util.setup_pkg " $pkg " ; {
357
357
echo ' binDirs = ["dir"]' > ' bpm.toml'
358
358
}; test_util.finish_pkg
359
- test_util.mock_clone " $site /$pkg "
359
+ test_util.mock_clone " $pkg " " $ site /$pkg "
360
360
361
361
run do-plumbing-link-bins " $site /$pkg "
362
362
@@ -372,13 +372,13 @@ load 'util/init.sh'
372
372
touch ' file2.bash'
373
373
chmod +x ' file2.bash'
374
374
}; test_util.finish_pkg
375
- test_util.mock_clone " $site /$pkg1 "
375
+ test_util.mock_clone " $pkg1 " " $ site /$pkg1 "
376
376
377
377
test_util.setup_pkg " $pkg2 " ; {
378
378
touch ' file2.bash'
379
379
chmod +x ' file2.bash'
380
380
}; test_util.finish_pkg
381
- test_util.mock_clone " $site /$pkg2 "
381
+ test_util.mock_clone " $pkg2 " " $ site /$pkg2 "
382
382
383
383
do-plumbing-link-bins " $site /$pkg1 "
384
384
run do-plumbing-link-bins " $site /$pkg2 "
0 commit comments