Björn Tillenius has proposed merging ~bjornt/maas:bug-1990172-no-pipefail into 
maas:master.

Commit message:
LP #1990172: "20-maas-03-machine-resources" commissioning script improperly 
reports a Pass when the test fails

The results was piped to 'tee', but pipefail wasn't set.



Requested reviews:
  MAAS Maintainers (maas-maintainers)

For more details, see:
https://code.launchpad.net/~bjornt/maas/+git/maas/+merge/436148
-- 
Your team MAAS Maintainers is requested to review the proposed merge of 
~bjornt/maas:bug-1990172-no-pipefail into maas:master.
diff --git a/src/provisioningserver/refresh/20-maas-03-machine-resources b/src/provisioningserver/refresh/20-maas-03-machine-resources
index ae9d282..c86821c 100755
--- a/src/provisioningserver/refresh/20-maas-03-machine-resources
+++ b/src/provisioningserver/refresh/20-maas-03-machine-resources
@@ -25,6 +25,8 @@
 # timeout: 60
 # --- End MAAS 1.0 script metadata ---
 
+set -o pipefail
+
 declare -A ARCH_MAP=(
     [aarch64]=arm64
     [i686]=i386
-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to