diff --git a/test-scratch.sh b/test-scratch.sh index 28d7469..e5655b6 100644 --- a/test-scratch.sh +++ b/test-scratch.sh @@ -1,27 +1,26 @@ -alias get_idf #2>/dev/null -ret=$? -if [ $ret -eq 1 ]; then - echo "get_idf not found" -fi +function checkAlias() { + echo "Testing $1" + alias $1 2>/dev/null + ret=$? + echo "\tretcode: $ret" + if [ $ret -eq 1 ]; then + echo "$1 not found" + else + echo "$1: $(alias $1)" + fi -alias run_esp_reinstall #2>/dev/null -ret=$? -if [ $ret -eq 1 ]; then - echo "run_esp_reinstall not found" -fi + return $ret +} -alias esp_monitor #2>/dev/null -ret=$? -if [ $ret -eq 1 ]; then - echo "esp_monitor not found" -fi +checkAlias get_idf +checkAlias run_esp_reinstall +checkAlias esp_monitor +checkAlias esp_logs +checkAlias notarealone -alias esp_logs #2>/dev/null -ret=$? -if [ $ret -eq 1 ]; then - echo "esp_monitor not found" -fi +# if [ -z $ESPIDF_INSTALLDIR ]; then +# echo "ESPIDF_INSTALLDIR not found" +# else +# echo "ESPIDF_INSTALLDIR: $ESPIDF_INSTALLDIR" +# fi -if [ -z $ESPIDF_INSTALLDIR ]; then - echo "ESPIDF_INSTALLDIR not found" -fi \ No newline at end of file diff --git a/version.txt b/version.txt index 2596d9c..dfc1b7a 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-beta4.3.4 \ No newline at end of file +61-beta4.3.5 \ No newline at end of file