]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: set -e explicitly in quota test 3364/head
authorJohn Spray <john.spray@redhat.com>
Tue, 13 Jan 2015 14:58:57 +0000 (14:58 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 13 Jan 2015 14:58:57 +0000 (14:58 +0000)
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 <john.spray@redhat.com>
qa/workunits/fs/misc/quota.sh

index eb33618612ef250a7ea7026e6a529ceb110497a1..ff27a613add6a0633e43907a0602785a44690d72 100755 (executable)
@@ -1,4 +1,7 @@
-#!/bin/bash -ex
+#!/bin/bash
+
+set -e
+set -x
 
 function expect_false()
 {