diff options
Diffstat (limited to 'bpkg/test.sh')
-rwxr-xr-x | bpkg/test.sh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bpkg/test.sh b/bpkg/test.sh index 75555f8..d1ab6f2 100755 --- a/bpkg/test.sh +++ b/bpkg/test.sh @@ -23,7 +23,7 @@ function test () local cmd=$1; shift local ops= - if [ "$cmd" != "rep-create" ]; then + if [ "$cmd" != "rep-create" -a "$cmd" != "rep-info" ]; then ops="-d $cfg" fi @@ -39,7 +39,7 @@ function fail () local cmd=$1; shift local ops= - if [ "$cmd" != "rep-create" ]; then + if [ "$cmd" != "rep-create" -a "$cmd" != "rep-info" ]; then ops="-d $cfg" fi @@ -86,6 +86,16 @@ test rep-create ../tests/repository/1/math/testing test rep-create ../tests/repository/1/math/unstable ## +## rep-info +## + +fail rep-info # repository location expected + +test rep-info ../tests/repository/1/misc/testing +test rep-info -m ../tests/repository/1/math/unstable +test rep-info http://pkg.cppget.org/1/hello + +## ## cfg-create ## |