diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-08 18:55:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-09 14:54:52 +0300 |
commit | a9dcee01b4d4d39d18db60092533dc2985d1c2d4 (patch) | |
tree | a784424c8cba314d938478d8728c3efe08db6264 /tests/pkg-build.test | |
parent | 78229192fc54ec1822bb29146f08386e3c60f813 (diff) |
Prefer dir repository type over others for pkg-build
Diffstat (limited to 'tests/pkg-build.test')
-rw-r--r-- | tests/pkg-build.test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/pkg-build.test b/tests/pkg-build.test index 03ed040..f5b3dee 100644 --- a/tests/pkg-build.test +++ b/tests/pkg-build.test @@ -1450,7 +1450,14 @@ rep_fetch += -d cfg --auth all --trust-yes 2>! : dir-rep : { - $clone_root_cfg && $rep_add $src/libfoo-1.1.0 --type dir && $rep_fetch; + : preferred + : + : Test that dir (local) repository is preferred over non-dir local repository + : that comes first. + : + $clone_root_cfg; + $rep_fetch $rep/t4a; + $rep_add $src/libfoo-1.1.0 --type dir && $rep_fetch "dir:$src/libfoo-1.1.0"; $* libfoo 2>>~%EOE%; using libfoo/1.1.0 (external) |