summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-902610.t
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-09-05 08:56:25 -0400
committerAnand Avati <avati@redhat.com>2013-09-09 17:23:40 -0700
commit71f8726b0a94ee830454369f7da2b508d8975d30 (patch)
treedac040b16ec58cf7909da98b8499444db26b1586 /tests/bugs/bug-902610.t
parent8d31709041e098a7d508f43f4de9c854b88a8c2e (diff)
tests: call 'cleanup' at the end of each test (backport BZ 983975)
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: I5cf80a4a996c691e6b82fd9ce9c711951dc26138 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> BUG: 1004756 Reviewed-on: http://review.gluster.org/5821 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'tests/bugs/bug-902610.t')
-rwxr-xr-xtests/bugs/bug-902610.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/bug-902610.t b/tests/bugs/bug-902610.t
index f5eb6be0287..3cc449ba6d8 100755
--- a/tests/bugs/bug-902610.t
+++ b/tests/bugs/bug-902610.t
@@ -56,3 +56,4 @@ mkdir $M0/dir1 2>/dev/null
get_layout $B0/${V0}0/dir1 $B0/${V0}1/dir1
EXPECT "0" echo $?
+cleanup