diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-14 14:36:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-16 14:53:54 +0300 |
commit | ed437dbd3483baa3d15d1d86d8f057d9112653b1 (patch) | |
tree | cbf3974e8b1774ccccd818442cf042e501190b09 /tests/rep-create.testscript | |
parent | 80ee886ca0bd3e41434621a056125c92f31b1aea (diff) |
Add support for default options files
Diffstat (limited to 'tests/rep-create.testscript')
-rw-r--r-- | tests/rep-create.testscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rep-create.testscript b/tests/rep-create.testscript index 487acf0..a7b9e19 100644 --- a/tests/rep-create.testscript +++ b/tests/rep-create.testscript @@ -147,6 +147,23 @@ EOO } + : remote-key-option-failure + : + : Test that bpkg-rep-create fails for the remote --key option. + : + { + $clone_rep; + + touch .git; # Pretend we are in the git repository. + + mkdir .build2; + echo "--key $key" >=.build2/bpkg-rep-create.options; + + $* 1/stable/ 2>>/~%EOE% != 0 + %.+/bpkg-rep-create.options: error: --key <name> in remote default options file% + EOE + } + : without-key : $clone_rep; |