summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-05-15 13:02:23 -0400
committerAnand Avati <avati@redhat.com>2013-05-15 17:30:22 -0700
commit6612f4d74792016add6d9067f732bad999d13b80 (patch)
tree323a6526ba61949b85269d32f7d4e6038b8ec4ae
parent8a7cda772d34b96c45714160ce4ec3b0c0d5b29b (diff)
tests: basic/rpm.t leaves /var/tmp/rpm-tests.* directories
When the test is terminated early because nothing changed that requires this test, the /var/tmp/rpm-tests.xxxxxx is not removed. BUG: 963333 Change-Id: I98d44ca34f14d62da9d836c41a9015cfb520ff96 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/5015 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rwxr-xr-xtests/basic/rpm.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/rpm.t b/tests/basic/rpm.t
index 6ca72e7b..ef4b5abf 100755
--- a/tests/basic/rpm.t
+++ b/tests/basic/rpm.t
@@ -33,6 +33,7 @@ if [ -z "${CHANGED_FILES}" ]
then
# only contents of files were changed, no need to retest rpmbuild
SKIP_TESTS
+ rm -rf ${RESULT_DIR}
cleanup
exit 0
fi