diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-04-13 10:53:48 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-04-13 10:53:48 +0100 |
commit | 4b333e9794177fab680668b487829b614d3fbad6 (patch) | |
tree | 8ee4484085776aaaf172955625058884530a319d /verification-test | |
parent | 523f430db45eb4a5ca8ff5ad52e95948ce266668 (diff) | |
download | obnam-4b333e9794177fab680668b487829b614d3fbad6.tar.gz |
Make verification-test exit if backup fails
Diffstat (limited to 'verification-test')
-rwxr-xr-x | verification-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/verification-test b/verification-test index d645e9f5..701eaad5 100755 --- a/verification-test +++ b/verification-test @@ -49,7 +49,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -set -ex +set -eux die() { @@ -65,7 +65,7 @@ backup() local client=$(awk '/client-name/ { print $3 }' "$conf") local genids=$(mktemp) - ./obnam --no-default-configs --config="$conf" backup + ./obnam --no-default-configs --config="$conf" backup || exit 1 while ! ./obnam --no-default-configs --config="$conf" genids > "$genids" do |