From 509566eeafbf963186d36e806555b3d67910c502 Mon Sep 17 00:00:00 2001 From: Tomas Olvecky Date: Thu, 13 Jun 2024 15:53:00 +0200 Subject: [PATCH] Add e2e test --- e2e-tests/live.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/e2e-tests/live.sh b/e2e-tests/live.sh index b6770442c..359ba4daf 100755 --- a/e2e-tests/live.sh +++ b/e2e-tests/live.sh @@ -8,7 +8,9 @@ unset CARGO_INSTALL_ROOT # to find versions matching <= 1.3.3 # - `cargo-quickinstall` would test `fetch_crate_cratesio_version_matched` ability # to find latest stable version. -crates="b3sum@<=1.3.3 cargo-release@0.24.9 cargo-binstall@0.20.1 cargo-watch@8.4.0 miniserve@0.23.0 sccache@0.3.3 cargo-quickinstall jj-cli@0.18.0" +# - `git-mob-tool tests the using of using a binary name (`git-mob`) different +# from the package name. +crates="b3sum@<=1.3.3 cargo-release@0.24.9 cargo-binstall@0.20.1 cargo-watch@8.4.0 miniserve@0.23.0 sccache@0.3.3 cargo-quickinstall jj-cli@0.18.0 git-mob-tool@1.6.1" CARGO_HOME=$(mktemp -d 2>/dev/null || mktemp -d -t 'cargo-home') export CARGO_HOME @@ -59,3 +61,8 @@ jj_version="$(jj --version)" echo "$jj_version" [ "$jj_version" = "jj 0.18.0-9fb5307b7886e390c02817af7c31b403f0279144" ] + +git_mob_version="$(git-mob --version)" +echo "$git_mob_version" + +[ "$git_mob_version" = "git-mob-tool 1.6.1" ]