summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-893378.t
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2013-07-12 15:00:07 +0200
committerAnand Avati <avati@redhat.com>2013-07-15 10:44:27 -0700
commitc50aa14008f9612d273acb81470f544cad6cff1a (patch)
tree6e1c8801c3480ae7af54ddd8df90499510b2d42f /tests/bugs/bug-893378.t
parent3f6a5702642837411477f241c9756c1872d46b1f (diff)
tests: call 'cleanup' at the end of each test
Some tests do not cleanup after themselves. That is bad behaviour and makes it difficult to run single tests and verify the state of the system afterwards. Change-Id: I4ac5401d790d6bc81e6975fd1384874b21d6cf8a BUG: 983975 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/5328 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-893378.t')
-rwxr-xr-xtests/bugs/bug-893378.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/bug-893378.t b/tests/bugs/bug-893378.t
index 470589f5375..fd8b9a7ceba 100755
--- a/tests/bugs/bug-893378.t
+++ b/tests/bugs/bug-893378.t
@@ -69,3 +69,5 @@ ls -l $M0/2 2>/dev/null
dd if=/dev/zero of=$M0/2 bs=1 count=1 conv=excl 2>/dev/null
EXPECT "1" echo $?
+
+cleanup;