mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 12:38:43 +00:00
Test --version
and $crate_name@$version
in tests.sh
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
065f62a625
commit
431992dab0
1 changed files with 10 additions and 0 deletions
|
@ -36,3 +36,13 @@ min_tls=1.3
|
|||
cargo-binstall
|
||||
# Test that the installed binaries can be run
|
||||
cargo binstall --help >/dev/null
|
||||
|
||||
# Test --version
|
||||
"./$1" binstall --force --log-level debug --no-confirm --version 0.11.1 cargo-binstall
|
||||
# Test that the installed binaries can be run
|
||||
cargo binstall --help >/dev/null
|
||||
|
||||
# Test "$crate_name@$version"
|
||||
"./$1" binstall --force --log-level debug --no-confirm cargo-binstall@0.11.1
|
||||
# Test that the installed binaries can be run
|
||||
cargo binstall --help >/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue