diff options
Diffstat (limited to 'tests/ci/data.testscript')
-rw-r--r-- | tests/ci/data.testscript | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ci/data.testscript b/tests/ci/data.testscript index 711c7b1..662a14c 100644 --- a/tests/ci/data.testscript +++ b/tests/ci/data.testscript @@ -17,10 +17,19 @@ data_dir = $regex.replace($path_search('*/request.manifest', $src_base), \ request_id = "$data_dir" +# Prepare the repository. +# +rep="file:$~/hello.git#master" ++tar -C $~ -xf $src_base/hello.tar.gz &hello.git/*** + # Copy the original CI request data directory to the root scope. # +cp -r $src_base/$data_dir ./ +# Fix-up the repository value in the request manifest. +# ++sed -i -e "s%^\(repository:\) .+\$%\\1 $rep%" $data_dir/request.manifest + root_data_dir = $~/$data_dir # The most commonly used submission data directory cloning command that copies |