From 73919cbcdd7b39f69a3ed4d43ac969bc8059b2e9 Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Wed, 30 Apr 2014 07:03:24 +0200 Subject: [PATCH] Remove lib/tempest errexit handling lib/tempest had code to set -o errexit and restore the setting after configure_tempest had run. This code didn't work, but it is no longer necessary since we set errexit for all of devstack (see change 88521; Change-Id Ia477e04567046a7fcdedf699423165bc577b72ad). This changeset removes the errexit handling code from lib/tempest. Change-Id: I2b0bc3c55a5d9bbb688f1e2e8e0fe133830a4172 --- lib/tempest | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/tempest b/lib/tempest index 81eeba330c..2125f883ee 100644 --- a/lib/tempest +++ b/lib/tempest @@ -76,7 +76,6 @@ function configure_tempest { local num_images local image_uuid local image_uuid_alt - local errexit local password local line local flavors @@ -92,11 +91,6 @@ function configure_tempest { # TODO(afazekas): # sudo python setup.py deploy - # This function exits on an error so that errors don't compound and you see - # only the first error that occurred. - errexit=$(set +o | grep errexit) - set -o errexit - # Save IFS ifs=$IFS @@ -383,8 +377,6 @@ function configure_tempest { # Restore IFS IFS=$ifs - #Restore errexit - $errexit } # create_tempest_accounts() - Set up common required tempest accounts