File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -50,20 +50,19 @@ jobs:
5050 sleep 1
5151 done
5252
53- if [[ "$(echo "entry_point" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
54- echo "Unexpected entry_point response"
55- exit 1
56- fi
5753 if [[ "$(echo "download" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "cancel" ]]; then
5854 echo "Unexpected download response"
55+ exit 1
56+ fi
57+ if [[ "$(echo "install" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
58+ echo "Unexpected install response"
5959 exit 2
6060 fi
61- if [[ "$(echo "error foo " | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
61+ if [[ "$(echo "error" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
6262 echo "Unexpected error response"
6363 exit 3
6464 fi
6565 if [[ "$(echo "reboot" | socat - UNIX-CONNECT:updatehub-statechange.sock)" != "" ]]; then
6666 echo "Unexpected reboot response"
6767 exit 4
6868 fi
69-
You can’t perform that action at this time.
0 commit comments