-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selfupdate is broken #174 : adjust/fix selfupdate test
- Loading branch information
Showing
2 changed files
with
62 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
|
||
$ ./$MAKESURE -f tests/200_update.sh test_err | ||
| goal 'makesure_prepared' ... | ||
$ { ./$MAKESURE -f tests/200_update.sh test_err; echo 'exit_code '$?; } | awk '/^exit_code/ { exit $2 } { gsub(/[0-9][0-9.]+/,"VER") } 1' | ||
| goal 'env_prepared' ... | ||
| goal 'test_err' ... | ||
| XXX | ||
| VER | ||
| selfupdate 1 | ||
| goal 'test_err' failed | ||
@ wget/curl not found | ||
@ Please use manual update: https://makesure.dev/Installation.html | ||
? 1 | ||
|
||
$ ./$MAKESURE -f tests/200_update.sh test_wget | awk '{ sub(/[0-9][0-9.]+/,"YYY") } 1' | ||
| goal 'makesure_prepared' ... | ||
$ ./$MAKESURE -f tests/200_update.sh test_wget | awk '{ gsub(/[0-9][0-9.]+/,"VER") } 1' | ||
| goal 'env_prepared' ... | ||
| goal 'wget_prepared' ... | ||
| goal 'test_wget' ... | ||
| XXX | ||
| VER | ||
| selfupdate 1 | ||
| running wget | ||
| running wget | ||
| updated XXX -> YYY | ||
| updated VER -> VER | ||
| selfupdate 2 | ||
| running wget | ||
| running wget | ||
| you have latest version YYY installed | ||
| YYY | ||
| you have latest version VER installed | ||
| VER | ||
|
||
$ ./$MAKESURE -f tests/200_update.sh test_curl | awk '{ sub(/[0-9][0-9.]+/,"YYY") } 1' | ||
| goal 'makesure_prepared' ... | ||
$ ./$MAKESURE -f tests/200_update.sh test_curl | awk '{ gsub(/[0-9][0-9.]+/,"VER") } 1' | ||
| goal 'env_prepared' ... | ||
| goal 'curl_prepared' ... | ||
| goal 'test_curl' ... | ||
| XXX | ||
| VER | ||
| selfupdate 1 | ||
| running curl | ||
| running curl | ||
| updated XXX -> YYY | ||
| updated VER -> VER | ||
| selfupdate 2 | ||
| running curl | ||
| running curl | ||
| you have latest version YYY installed | ||
| YYY | ||
| you have latest version VER installed | ||
| VER |