summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-860663.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-860663.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-860663.t')
-rw-r--r--tests/bugs/bug-860663.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/bug-860663.t b/tests/bugs/bug-860663.t
index 28d1f8fcddc..05dea5fbc05 100644
--- a/tests/bugs/bug-860663.t
+++ b/tests/bugs/bug-860663.t
@@ -47,3 +47,5 @@ sleep 5;
NEW_FILE_COUNT=`ls -l $M0 | wc -l`;
EXPECT "0" file_count $ORIG_FILE_COUNT $NEW_FILE_COUNT
+
+cleanup;