Skip to content

Commit

Permalink
Add test for update scenario #21
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Aug 3, 2021
1 parent 49bcc32 commit fb8f967
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/12_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
export NEXT_VERSION=XXX
"$D/makesure" --version
"$D/makesure" --selfupdate
"$D/makesure" --selfupdate
"$D/makesure" --version
rm -r "$D"

Expand Down
2 changes: 2 additions & 0 deletions tests/12_update.tush
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $ cd "$MYDIR"; ./makesure -f tests/12_update.sh test_wget
| goal 'run_selfupdate' ...
| XXX
| updated XXX -> 0.9.7.1
| you have latest version 0.9.7.1 installed
| 0.9.7.1
| goal 'test_wget' [empty].

Expand All @@ -22,5 +23,6 @@ $ cd "$MYDIR"; ./makesure -f tests/12_update.sh test_curl
| goal 'run_selfupdate' ...
| XXX
| updated XXX -> 0.9.7.1
| you have latest version 0.9.7.1 installed
| 0.9.7.1
| goal 'test_curl' [empty].

0 comments on commit fb8f967

Please sign in to comment.