summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@fb.com>2017-07-06 08:52:44 -0700
committerJeff Darcy <jeff@pl.atyp.us>2017-07-06 19:05:23 +0000
commitfb4445816a9775daf32b590d0158ef0271c2c866 (patch)
tree9fa49e45b59d3b05e207a69ddfd69c9a5e9a5304 /tests
parentb6e84d469993ceff1c0d6f3201cbcecdfa17eb06 (diff)
Build/test fixes - build_env, tirpc, mem-pool, cleanup
Differential Revision: https://phabricator.intern.facebook.com/D5376801 Change-Id: I5bf733a395ef2b85065200fa5810ced27ee0d682 Reviewed-on: https://review.gluster.org/17719 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Jeff Darcy <jeff@pl.atyp.us> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'tests')
-rw-r--r--tests/include.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 12f70e991c8..de3b90ee86b 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -426,6 +426,7 @@ stat -c %s /dev/null > /dev/null 2>&1 || {
function cleanup()
{
+ cd # Things go pear-shaped if we're inside a Gluster mount.
# Prepare flags for umount
case `uname -s` in