diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 20:50:25 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 20:50:25 +0300 |
commit | 68680d7ed2de07d1b67dd6d3c943a7c7736dbd45 (patch) | |
tree | cbc41173ddb91c441eaee7ecea0c8dcbd03486ef /tests/submit/submit-git.testscript | |
parent | d97faa864483c4141613f785f371b8fdb42876c7 (diff) |
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/submit/submit-git.testscript')
-rw-r--r-- | tests/submit/submit-git.testscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/submit/submit-git.testscript b/tests/submit/submit-git.testscript index 19650c5..ec87637 100644 --- a/tests/submit/submit-git.testscript +++ b/tests/submit/submit-git.testscript @@ -9,14 +9,14 @@ # # test.redirects += 2>! -g = git 2>! >&2 +g = [cmdline] git 2>! >&2 # Create and clone the reference repository. # root_ref = $~/ref.git root_ref_dir = $~/ref -clone_root_ref = cp --no-cleanup -r $root_ref ./ &ref.git/*** +clone_root_ref = [cmdline] cp --no-cleanup -r $root_ref ./ &ref.git/*** +mkdir --no-cleanup $root_ref +$g -C $root_ref init --bare &ref.git/*** @@ -44,7 +44,7 @@ root_tgt_url = "file:///$~/tgt.git" +cp -r $root_ref $root_tgt -clone_root_tgt = cp --no-cleanup -r $root_tgt ./ &tgt.git/*** +clone_root_tgt = [cmdline] cp --no-cleanup -r $root_tgt ./ &tgt.git/*** # Extract the package repository. # |