diff --git a/.gitlab/tests/cram/wnc-freedom/211-swupdate.t b/.gitlab/tests/cram/wnc-freedom/211-swupdate.t index 170e8a5183..a5e3106119 100644 --- a/.gitlab/tests/cram/wnc-freedom/211-swupdate.t +++ b/.gitlab/tests/cram/wnc-freedom/211-swupdate.t @@ -25,3 +25,7 @@ Run SWUpdate in dry-run mode using a wrong public key: $ R "openssl genrsa -out /tmp/private.pem 2048; openssl rsa -in /tmp/private.pem -pubout -out /tmp/public.pem > /dev/null 2>&1" $ R "swupdate -n -k /tmp/public.pem -i /tmp/prplos-ipq95xx-generic-prpl_freedom-image.swu -v -H freedom:1.0.0 -e active,full 2>&1 | grep -i 'endupdate .* SWUpdate \*failed\* !'" [ERROR] : SWUPDATE failed [0] ERROR install_from_file.c : endupdate : 55 : SWUpdate *failed* ! + +Cleanup temporary files: + + $ R "rm -f /tmp/prplos-ipq95xx-generic-prpl_freedom-image.swu /tmp/private.pem /tmp/public.pem"