diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 20:38:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 20:38:15 +0300 |
commit | 1c6fc35c120ee79ecbd6f0b2a8e9598ec0c68128 (patch) | |
tree | b39fcfa512b1e5a767c6430d7d0be3d40d8e37d9 /tests/git-pre-commit-common.testscript | |
parent | 824fc5434f50c925ceb8da5f5586323babf98413 (diff) |
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/git-pre-commit-common.testscript')
-rw-r--r-- | tests/git-pre-commit-common.testscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git-pre-commit-common.testscript b/tests/git-pre-commit-common.testscript index ae8b9d4..6296839 100644 --- a/tests/git-pre-commit-common.testscript +++ b/tests/git-pre-commit-common.testscript @@ -4,7 +4,7 @@ # Set commonly-used variables and configure git to call the hook being tested. # Assume that git-common.testscript is already included. # -gc = $gp commit -a --allow-empty-message -m '' +gc = [cmdline] $gp commit -a --allow-empty-message -m '' hooks_dir=$~/hooks +mkdir $hooks_dir |