diff options
Diffstat (limited to 'tests')
-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) |