From b578a53b0351435a8d9409772f762853bb2241b6 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 13 Jan 2015 14:58:57 +0000 Subject: [PATCH] qa: set -e explicitly in quota test Previously was set in hashbang, which meant that "./quota.sh" was OK, but "sh ./quota.sh" would just run through ignoring errors. Signed-off-by: John Spray --- qa/workunits/fs/misc/quota.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qa/workunits/fs/misc/quota.sh b/qa/workunits/fs/misc/quota.sh index eb33618612e..ff27a613add 100755 --- a/qa/workunits/fs/misc/quota.sh +++ b/qa/workunits/fs/misc/quota.sh @@ -1,4 +1,7 @@ -#!/bin/bash -ex +#!/bin/bash + +set -e +set -x function expect_false() {